index 926ce5ddaca39699bad3aa88c7acaeb1044f15b5..9fdb2b15de0f1c98dc14f1ceab8470efb0b317e9 100644 (file)
if(preg_match("/d/",$acl)){
$once = false;
- if(($this->SubObjects[$entry]['status'] == "edited")||($this->SubObjects[$entry]['status'] == "FreshLoaded")){
+ $status = $this->SubObjects[$entry]['status'];
+ if($status == "edited" || $status == "FreshLoaded"){
$this->SubObjects[$entry]['status']= "delete";
}else{
unset($this->SubObjects[$entry]);