From 6d414a554089bcc5840191cd22fd6ee4d6ebee6e Mon Sep 17 00:00:00 2001 From: cajus Date: Tue, 3 Nov 2009 11:44:49 +0000 Subject: [PATCH] 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 --- gosa-core/plugins/personal/posix/class_posixAccount.inc | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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); -- 2.30.2