* Patch PEAR.php to use "static" isError declaration to prevent
PHP error messages
This commit is contained in:
parent
adfb237b4a
commit
7f6194e195
@ -254,7 +254,7 @@ class PEAR
|
||||
* @access public
|
||||
* @return bool true if parameter is an error
|
||||
*/
|
||||
function isError($data, $code = null)
|
||||
static function isError($data, $code = null)
|
||||
{
|
||||
if (!is_a($data, 'PEAR_Error')) {
|
||||
return false;
|
||||
|
@ -3,6 +3,9 @@
|
||||
Version 2.0 ()
|
||||
------------------------------------------------------------------------
|
||||
|
||||
* Patch PEAR.php to use "static" isError declaration to prevent
|
||||
PHP error messages
|
||||
|
||||
* Change order of IF-statements in entries.tpl to check for
|
||||
comment_moderate/comment_added, to properly emit the message
|
||||
whether a comment is being moderated.
|
||||
|
Loading…
x
Reference in New Issue
Block a user