Code

Updated table summary
[gosa.git] / gosa-plugins / fai / admin / fai / tabsVariable.inc
index 5b23577d9eabf3d4d74bbe2d9403d9217823db5f..5a636be08f206391d354ba452ea3d9924147e5d9 100644 (file)
@@ -27,8 +27,8 @@ class tabsVariable extends tabs
        if ($this->dn != $new_dn && $this->dn != "new"){
                
                /* if( new_dn is subtree of this->dn ) */
-               $cnt1 = count(split(",",$this->dn));
-               $cnt2 = count(split(",",$new_dn));
+               $cnt1 = count(explode(",",$this->dn));
+               $cnt2 = count(explode(",",$new_dn));
                if((strstr($new_dn,$this->dn))&&($cnt1<$cnt2)){
                        msg_dialog::display(_("Error"), _("Moving the tree failed. Destination tree is subtree of source tree."), ERROR_DIALOG);
                }else{