fix a strict error by horribly breaking old PHP4 installations.
This commit is contained in:
parent
4447d11a3b
commit
5a72665c23
@ -1248,7 +1248,7 @@ class StringParser_Node {
|
|||||||
* @param object $node The node to destroy
|
* @param object $node The node to destroy
|
||||||
* @return bool True on success, else false.
|
* @return bool True on success, else false.
|
||||||
*/
|
*/
|
||||||
function destroyNode (&$node) {
|
static function destroyNode (&$node) {
|
||||||
if ($node === null) {
|
if ($node === null) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user