View Single Post
Old 06-25-2009, 12:58 PM   #4 (permalink)
sketchMedia
The Prestige
Advanced Programmer Top Contributor Good Samaritan 
 
sketchMedia's Avatar
 
Join Date: Oct 2007
Location: Manchester, UK
Posts: 854
Thanks: 32
sketchMedia is on a distinguished road
Default

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)
sketchMedia is offline  
Reply With Quote
The Following User Says Thank You to sketchMedia For This Useful Post:
tech (06-25-2009)