summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 1da98b8)
raw | patch | inline | side by side (parent: 1da98b8)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 17 Jan 2007 10:44:30 +0000 (10:44 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 17 Jan 2007 10:44:30 +0000 (10:44 +0000) |
Hookentry äöü in description failed.
Only save Packgae configurations that respresent a valid variable
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@5582 594d385d-05f5-0310-b6e9-bd551577e9d8
Only save Packgae configurations that respresent a valid variable
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@5582 594d385d-05f5-0310-b6e9-bd551577e9d8
plugins/admin/fai/class_faiHookEntry.inc | patch | blob | history | |
plugins/admin/fai/class_faiPackage.inc | patch | blob | history |
index 994f7912630635582acd7c7ffa82f1017dd0867a..244af77bde30cf836f0e256d61a0bf2e60e328b0 100644 (file)
*/
foreach($this->attributes as $attrs){
if(get_magic_quotes_gpc()){
- $smarty->assign($attrs,htmlentities(stripslashes($this->$attrs)));
+ $smarty->assign($attrs,(stripslashes($this->$attrs)));
}else{
- $smarty->assign($attrs,htmlentities($this->$attrs));
+ $smarty->assign($attrs,($this->$attrs));
}
}
index 8b2cc7e833fe3e86a1a798685f9b0000111c84b7..144d965803406e29d5348092e0035a52b09fdeb9 100644 (file)
$pkgattrs['objectClass'][] = "gosaAdministrativeUnitTag";
}
- prepare_to_save_FAI_object($pkgdn,$pkgattrs);
-
+ if(in_array($pkgattrs['FAIvariableType'],array("boolean","multiselect","password","select","string","text"))){
+ prepare_to_save_FAI_object($pkgdn,$pkgattrs);
+ }
+
/* Handle tagging */
$this->handle_object_tagging($pkgdn, $this->gosaUnitTag);
}