06-25-2009, 11:58 AM
|
#4 (permalink)
|
|
The Prestige
Join Date: Oct 2007
Location: Manchester, UK
Posts: 836
Thanks: 31
|
In addition to the catch block as mentioned, this line seems to be a culprit:
PHP Code:
array_splice($parent->content->,$this);//here i can be remove from parent contents array.
should it be:
PHP Code:
array_splice($parent->content,$this);//here i can be remove from parent contents array.
Just as a note, I would discourage anyone from using $this in any other context apart from within an object.
__________________
mysql> SELECT * FROM `users` WHERE `users`.`clue` > 0;
Empty set (0.00 sec)
|
|
|
|