|
Posted by Lόpher Cypher on 12/30/05 16:51
Oh, forgot to update $temp here:
$temp = $this->parent;
while (isset($temp)) {
if ($this->data->id == $temp->control->data->id) {
echo "error";
return;
}
$temp = $temp->owner;
}
Also, it does not work because $temp->control->data is null. However, if
$this->data is accessed from $temp->control, it is instantiated..
luph
Navigation:
[Reply to this message]
|