From: hickert Date: Tue, 31 May 2005 08:39:28 +0000 (+0000) Subject: smarty missing variable X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=5d4990aab71451ddbf36fdde93a97e7f26bd9b8a;p=gosa.git smarty missing variable git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@524 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/plugins/personal/connectivity/class_pureftpdAccount.inc b/plugins/personal/connectivity/class_pureftpdAccount.inc index e2457b665..0cb088a46 100644 --- a/plugins/personal/connectivity/class_pureftpdAccount.inc +++ b/plugins/personal/connectivity/class_pureftpdAccount.inc @@ -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__)));