From: cajus Date: Tue, 3 Nov 2009 11:44:49 +0000 (+0000) Subject: Set key if ssh is not available. Closes #760 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=6d414a554089bcc5840191cd22fd6ee4d6ebee6e;p=gosa.git Set key if ssh is not available. Closes #760 git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@14733 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-core/plugins/personal/posix/class_posixAccount.inc b/gosa-core/plugins/personal/posix/class_posixAccount.inc index 43219aa6e..764dc1409 100644 --- a/gosa-core/plugins/personal/posix/class_posixAccount.inc +++ b/gosa-core/plugins/personal/posix/class_posixAccount.inc @@ -660,9 +660,7 @@ class posixAccount extends plugin $smarty->assign("workstations", $this->accessTo); // Add SSH button if available - if ($this->ssh) { - $smarty->assign("sshPublicKey", 1); - } + $smarty->assign("sshPublicKey", $this->ssh?1:0); $smarty->assign("apply", apply_filter()); $smarty->assign("multiple_support" , $this->multiple_support_active);