From 5a72665c2316f63c10e2670583dc65c19875ec2e Mon Sep 17 00:00:00 2001 From: real_nowhereman Date: Sat, 24 Mar 2012 15:20:41 +0000 Subject: [PATCH] fix a strict error by horribly breaking old PHP4 installations. --- fp-plugins/bbcode/inc/stringparser.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fp-plugins/bbcode/inc/stringparser.class.php b/fp-plugins/bbcode/inc/stringparser.class.php index 1bb426e..d99df06 100755 --- a/fp-plugins/bbcode/inc/stringparser.class.php +++ b/fp-plugins/bbcode/inc/stringparser.class.php @@ -1248,7 +1248,7 @@ class StringParser_Node { * @param object $node The node to destroy * @return bool True on success, else false. */ - function destroyNode (&$node) { + static function destroyNode (&$node) { if ($node === null) { return false; }