Code

Avoid static error messages in PHP5
authorcajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 23 Jun 2006 08:02:35 +0000 (08:02 +0000)
committercajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 23 Jun 2006 08:02:35 +0000 (08:02 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@3867 594d385d-05f5-0310-b6e9-bd551577e9d8

plugins/admin/departments/class_departmentManagement.inc
plugins/admin/fai/class_faiManagement.inc
plugins/admin/systems/class_systemManagement.inc

index 9856fed429bbc4c9b26d60d45b83edbd0fcddedb..9bb51d3755ed233395f9e600d411000697e92cd9 100644 (file)
@@ -155,7 +155,7 @@ class departmentManagement extends plugin
         return(gen_locked_message($user, $this->dn));
       } else {
         add_lock ($this->dn, $this->ui->dn);
-        $smarty->assign("info", sprintf(_("You're about to delete the whole LDAP subtree placed under '%s'."), LDAP::fix($this->dn)));
+        $smarty->assign("info", sprintf(_("You're about to delete the whole LDAP subtree placed under '%s'."), @LDAP::fix($this->dn)));
         $display.= $smarty->fetch (get_template_path('remove.tpl', TRUE));
         return ($display);
       }
index f0e486745366b65dfe6395a9da79da01b1fe2f80..cad64a4d8ee24965daa72cadf9787e8d0645e298 100644 (file)
@@ -150,7 +150,7 @@ class faiManagement extends plugin
 
                                /* Lock the current entry, so nobody will edit it during deletion */
                                add_lock ($this->dn, $this->ui->dn);
-                               $smarty->assign("warning", sprintf(_("You're about to delete all information about the FAI class at '%s'."), LDAP::fix($this->dn)));
+                               $smarty->assign("warning", sprintf(_("You're about to delete all information about the FAI class at '%s'."), @LDAP::fix($this->dn)));
                                return($smarty->fetch(get_template_path('remove.tpl', TRUE)));
                        } else {
 
index 5c37d6b904e6f4ef52e4e39bdd36e50b98fc1c74..d68133582ae1af800ef843efb262d6a8612ee7ed 100644 (file)
@@ -304,7 +304,7 @@ class systems extends plugin
 
         /* Lock the current entry, so nobody will edit it during deletion */
         add_lock ($this->dn, $this->ui->dn);
-        $smarty->assign("warning", sprintf(_("You're about to delete all information about the component at '%s'."), LDAP::fix($this->dn)));
+        $smarty->assign("warning", sprintf(_("You're about to delete all information about the component at '%s'."), @LDAP::fix($this->dn)));
         return($smarty->fetch(get_template_path('remove.tpl', TRUE)));
       } else {