summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 8509703)
raw | patch | inline | side by side (parent: 8509703)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 24 Jun 2008 08:17:34 +0000 (08:17 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 24 Jun 2008 08:17:34 +0000 (08:17 +0000) |
-Save parameter changes back to databases.
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@11407 594d385d-05f5-0310-b6e9-bd551577e9d8
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@11407 594d385d-05f5-0310-b6e9-bd551577e9d8
plugins/gofon/phoneaccount/class_phoneAccount.inc | patch | blob | history |
diff --git a/plugins/gofon/phoneaccount/class_phoneAccount.inc b/plugins/gofon/phoneaccount/class_phoneAccount.inc
index cc75b6f3d1fc12e90d17f064569be3e6643bcc38..27fbbf800febff56cb62496bbc461a0bd7aa34f8 100644 (file)
foreach($this->macroarray[$this->macro] as $key => $paras){
+ $old_macro_settings = $this->macroarray[$this->macro][$key];
$backup = $this->macroarray[$this->macro][$key];
if(isset($_POST[$paras['var']])){
}
}
}
+ if(array_differs($old_macro_settings,$this->macroarray[$this->macro][$key])){
+ $this->is_modified = TRUE;
+ }
if(count(array_diff($this->macroarray[$this->macro][$key],$backup))){
- $this->modified = TRUE;
+ $this->is_modified = TRUE;
}
}
}