summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 70f4401)
raw | patch | inline | side by side (parent: 70f4401)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 7 Oct 2005 07:01:38 +0000 (07:01 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 7 Oct 2005 07:01:38 +0000 (07:01 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@1527 594d385d-05f5-0310-b6e9-bd551577e9d8
plugins/admin/fai/class_faiHook.inc | patch | blob | history | |
plugins/admin/fai/class_faiScript.inc | patch | blob | history |
index 06df397264b700a98d2d59ec1ed6d8ff3deff466..a6a5d7050e7a7bf34f97cc5b6bd515982009d2da 100644 (file)
if(empty($obj[$attrs])){
$obj[$attrs] = array();
}
- $tmp[$attrs] = stripslashes($obj[$attrs]);
+ if(!is_array($obj[$attrs])){
+ $tmp[$attrs] = stripslashes($obj[$attrs]);
+ }else{
+ $tmp[$attrs] = $obj[$attrs];
+ }
}
$tmp['objectClass'] = $this->subClasses;
index 2ec36ad96b0ebaa9406a1b3bc6297421190f85bf..57de6487616fb21044f49822a5f157f949d99f71 100644 (file)
if(empty($obj[$attrs])){
$obj[$attrs] = array();
}
- $tmp[$attrs] = stripslashes($obj[$attrs]);
+ if(!is_array($obj[$attrs])){
+ $tmp[$attrs] = stripslashes($obj[$attrs]);
+ }else{
+ $tmp[$attrs] = $obj[$attrs];
+ }
}
$tmp['objectClass'] = $this->subClasses;