diff --git a/plugins/admin/systems/class_servGeneric.inc b/plugins/admin/systems/class_servGeneric.inc
index 77377092cf8a2d409777950df6585803f21d7514..9c0f48cd1f442c63d0434f2fffc556b7810f816f 100644 (file)
/* Check for action */
if (isset($_POST['action'])){
$cmd= search_config($this->config->data['TABS'], "workgeneric", "ACTIONCMD");
- $cmd= "/bin/echo";
if ($cmd == ""){
print_red(_("No ACTIONCMD definition found in your gosa.conf"));
} else {
}
for($i = 0; $i < $res['objectClass']['count'] ; $i ++){
- if(($attrs['FAIstate'] == "") && ($res['objectClass'][$i] == "FAIobject")) continue;
$attrs['objectClass'][] = $res['objectClass'][$i];
}
}
if($attrs['FAIstate'] == ""){
+ #FIXME we should check if FAIobject is used anymore
$attrs['FAIstate'] = array();
}
-
+
$ldap->cd($this->dn);
$ldap->modify($attrs);
show_ldap_error($ldap->get_error());