cvs: php4 /pear/DB common.php
| From: | Colin Viebrock | Date: | Thu, 01 Feb 2001 20:16:53 +0000 |
| Subject: | cvs: php4 /pear/DB common.php | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-3860@lists.php.net to get a copy of this message | ||
cmv Thu Feb 1 12:16:53 2001 EDT
Modified files:
/php4/pear/DB common.php
Log:
fix here too
Index: php4/pear/DB/common.php
diff -u php4/pear/DB/common.php:1.35 php4/pear/DB/common.php:1.36
--- php4/pear/DB/common.php:1.35 Tue Jan 9 17:01:53 2001
+++ php4/pear/DB/common.php Thu Feb 1 12:16:53 2001
@@ -242,13 +242,13 @@
is_object($options[0]) && is_string($options[1]))) {
$this->error_callback = $options;
} else {
- trigger_error(E_USER_WARNING, "invalid error callback");
+ trigger_error("invalid error callback", E_USER_WARNING);
}
$this->error_level = PEAR_ERROR_RETURN;
break;
default:
- trigger_error(E_USER_WARNING, "invalid error mode");
+ trigger_error("invalid error mode", E_USER_WARNING);
break;
}
}