From: Ilia Alshanetsky Date: Thu, 20 May 2004 19:14:44 +0000 (+0000) Subject: Fixed typo. X-Git-Tag: RELEASE_0_1~51 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=726e188ccee9b7896c1b3b9899b3c9c9bb4ce758;p=php Fixed typo. --- diff --git a/ext/pdo/pdo_dbh.c b/ext/pdo/pdo_dbh.c index 49a457362e..0433bae2d0 100755 --- a/ext/pdo/pdo_dbh.c +++ b/ext/pdo/pdo_dbh.c @@ -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; }