summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: b994093)
raw | patch | inline | side by side (parent: b994093)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 26 Nov 2008 09:37:24 +0000 (09:37 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 26 Nov 2008 09:37:24 +0000 (09:37 +0000) |
-Ensure that changes made by object->check() will be kept. solves problems for php4 and copy&paste of users.
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@13036 594d385d-05f5-0310-b6e9-bd551577e9d8
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@13036 594d385d-05f5-0310-b6e9-bd551577e9d8
include/class_CopyPasteHandler.inc | patch | blob | history |
index aba5e3208a3e1976722044ce7c416f4f8b51b2f1..f50cef728cfed67a05c0c7fc85694e6cdb7086d8 100644 (file)
function check()
{
$ret = array();
- foreach($this-> current->by_object as $obj){
+ foreach($this-> current->by_object as $key => $obj){
if($obj->is_account){
- $ret = array_merge($ret , $obj->check());
+ $ret = array_merge($ret , $this->current->by_object[$key]->check());
}
}
return($ret);