diff options
| author | Ilia Alshanetsky <iliaa@php.net> | 2007-04-29 14:47:34 +0000 |
|---|---|---|
| committer | Ilia Alshanetsky <iliaa@php.net> | 2007-04-29 14:47:34 +0000 |
| commit | 7810fc89fa8ba80b6cebfd54cd1235d29848e2b9 (patch) | |
| tree | ae8637cc1f372096a12448bd09c1c6957aa752e0 /ext/pdo | |
| parent | e878249669693aa4391f495f87801ad15afc393d (diff) | |
| download | php-git-7810fc89fa8ba80b6cebfd54cd1235d29848e2b9.tar.gz | |
Fixed bug #41215 (setAttribute return code reversed).
Diffstat (limited to 'ext/pdo')
| -rwxr-xr-x | ext/pdo/pdo_dbh.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/pdo/pdo_dbh.c b/ext/pdo/pdo_dbh.c index cac979c732..6d4143e04c 100755 --- a/ext/pdo/pdo_dbh.c +++ b/ext/pdo/pdo_dbh.c @@ -823,7 +823,7 @@ static PHP_METHOD(PDO, setAttribute) PDO_CONSTRUCT_CHECK; - if (pdo_dbh_attribute_set(dbh, attr, value TSRMLS_CC)) { + if (pdo_dbh_attribute_set(dbh, attr, value TSRMLS_CC) != FAILURE) { RETURN_TRUE; } RETURN_FALSE; |
