Code

Fixed problem of undefined objects in "non-tab-mode"
authorcajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 10 Jun 2005 05:42:00 +0000 (05:42 +0000)
committercajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 10 Jun 2005 05:42:00 +0000 (05:42 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@639 594d385d-05f5-0310-b6e9-bd551577e9d8

plugins/personal/connectivity/class_kolabAccount.inc

index 09c3e83330410a2c1685a5c968918f85aef8c7fc..b55cc9d6410237077d0d5d698da078b26194af6b 100644 (file)
@@ -149,7 +149,7 @@ class kolabAccount extends plugin
     }
 
     /* Transfer account states for this union */
-    if ($this->parent->by_object['mailAccount']->is_account){
+    if (isset($this->parent) && $this->parent->by_object['mailAccount']->is_account){
       $smarty->assign('is_account', 'true');
     } else {
       $smarty->assign('is_account', '');