Code

smarty missing variable
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 31 May 2005 08:39:28 +0000 (08:39 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 31 May 2005 08:39:28 +0000 (08:39 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@524 594d385d-05f5-0310-b6e9-bd551577e9d8

plugins/personal/connectivity/class_pureftpdAccount.inc

index e2457b6651e2b3a501954a3f6683762f3d8b0d82..0cb088a46ca69a5c98b0c67df226edbba54ee4d3 100644 (file)
@@ -53,9 +53,13 @@ class pureftpdAccount extends plugin
     }
     $smarty->assign("use_FTPStatus", ($this->FTPStatus == "disabled") ? "checked" : "");
 
+    # Hickert, Added Else. Smarty have to know the variable in both cases
     if ($this->parent != NULL){
       $smarty->assign("tabbed", 1);
+    }else {
+      $smarty->assign("tabbed", 0);
     }
+    
     $smarty->assign("pureftpdACL", chkacl($this->acl, 'pureftpd'));
 
     $display.= $smarty->fetch (get_template_path('pureftpd.tpl', TRUE, dirname(__FILE__)));