]> granicus.if.org Git - php/commitdiff
Fixed typo.
authorIlia Alshanetsky <iliaa@php.net>
Thu, 20 May 2004 19:14:44 +0000 (19:14 +0000)
committerIlia Alshanetsky <iliaa@php.net>
Thu, 20 May 2004 19:14:44 +0000 (19:14 +0000)
ext/pdo/pdo_dbh.c

index 49a457362e70768224248a30f15e6c0c28a4e9f3..0433bae2d0191ec8c36ae6565ba97759589c898f 100755 (executable)
@@ -332,7 +332,7 @@ static PHP_METHOD(PDO, getAttribute)
                RETURN_FALSE;
        }
 
-       if (!dbh->methods->set_attribute) {
+       if (!dbh->methods->get_attribute) {
                php_error_docref(NULL TSRMLS_CC, E_WARNING, "This driver doesn't support fetching attributes");
                RETURN_FALSE;
        }