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