fix a strict error by horribly breaking old PHP4 installations.

This commit is contained in:
real_nowhereman 2012-03-24 15:20:41 +00:00
parent 4447d11a3b
commit 5a72665c23

View File

@ -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;
}