From: foobar Date: Tue, 28 Jun 2005 23:33:42 +0000 (+0000) Subject: fix tests when error_reporting is E_ALL X-Git-Tag: php-5.1.0b3~279 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=fa6c536c26340eef7a201220db462411a6445f67;p=php fix tests when error_reporting is E_ALL --- diff --git a/ext/pdo/tests/pdo_026.inc b/ext/pdo/tests/pdo_026.inc index 6d8431ffdd..3886f7ec5a 100755 --- a/ext/pdo/tests/pdo_026.inc +++ b/ext/pdo/tests/pdo_026.inc @@ -45,7 +45,7 @@ class PDODatabase extends PDO } } -$DB = new PDODatabase($CONNECTION, $USER ? $USER : NULL, $PASSWD ? $PASSWD : NULL); +$DB = new PDODatabase($CONNECTION, isset($USER) ? $USER : NULL, isset($PASSWD) ? $PASSWD : NULL); var_dump(get_class($DB)); $DB->setAttribute(PDO_ATTR_ERRMODE, PDO_ERRMODE_WARNING);