summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: efb6d61)
raw | patch | inline | side by side (parent: efb6d61)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 4 Jan 2010 08:56:53 +0000 (08:56 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 4 Jan 2010 08:56:53 +0000 (08:56 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@14994 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-core/include/class_plugin.inc | patch | blob | history |
index 17e05fcc96077ae718a3f044c1f2160897c3a2da..0691c206073d220480c29269e45c8d395ee68038 100644 (file)
/* FAIvariable=.../..., cn=..
could not be saved, because the attribute FAIvariable was different to
the dn FAIvariable=..., cn=... */
+
+ if(!is_array($new['objectClass'])) $new['objectClass'] = array($new['objectClass']);
+
if(in_array_ics("FAIdebconfInfo",$new['objectClass'])){
$new['FAIvariable'] = $ldap->fix($new['FAIvariable']);
}