From: hickert Date: Tue, 17 Jan 2006 09:52:29 +0000 (+0000) Subject: Fixed some errors if mysql is not available X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=6cb5be59b017449b99265b7ab8dead4eeab15b19;p=gosa.git Fixed some errors if mysql is not available git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@2500 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/plugins/admin/systems/class_glpiAccount.inc b/plugins/admin/systems/class_glpiAccount.inc index 258499ff2..4323dfa7d 100644 --- a/plugins/admin/systems/class_glpiAccount.inc +++ b/plugins/admin/systems/class_glpiAccount.inc @@ -124,7 +124,7 @@ class glpiAccount extends plugin To avoid undefined indexes, if there is an error with the glpi db */ foreach(array("SystemTypes","SystemTypeKeys","Manufacturers", - "OSs","TechnicalResponsibles","InstalledDevices","Attachments", + "OSs","TechnicalResponsibles","InstalledDevices","Attachments","AttachmentKeys", "OSKeys","OSs","ManufacturerKeys","InstalledDeviceKeys") as $attr){ $smarty->assign($attr,array()); $smarty->assign($attr."ACL"," disabled "); diff --git a/plugins/admin/systems/glpi.tpl b/plugins/admin/systems/glpi.tpl index c945c46f0..2a65c1763 100644 --- a/plugins/admin/systems/glpi.tpl +++ b/plugins/admin/systems/glpi.tpl @@ -91,8 +91,8 @@ - - + +