summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: b144181)
raw | patch | inline | side by side (parent: b144181)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 4 Sep 2006 11:35:01 +0000 (11:35 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 4 Sep 2006 11:35:01 +0000 (11:35 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@4582 594d385d-05f5-0310-b6e9-bd551577e9d8
plugins/admin/fai/class_faiTemplate.inc | patch | blob | history |
index 88902daedb4437d196cc4743aeb63f950ee8f2ee..20497bfaa5583f9007b1f5c6ec1c84d40480ef35 100644 (file)
/* Fix slashes */
$var = addslashes($var);
+
$object[$attrs] = $var;
}
}
if(strlen($obj['description']) > 40){
$obj['description'] = substr($obj['description'],0,40)."...";
}
- $a_return[$obj['cn']]= $obj['cn']." [".$obj['description']."]";
+ $a_return[$obj['cn']]= $obj['cn']." [".stripslashes( $obj['description'] )."]";
}else{
$a_return[$obj['cn']]= $obj['cn'];
}
if(empty($obj[$attrs])){
$obj[$attrs] = array();
}
- $tmp[$attrs] = $obj[$attrs];
+ $tmp[$attrs] = stripslashes ($obj[$attrs]);
}
$tmp['objectClass'] = $this->subClasses;