summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 891877c)
raw | patch | inline | side by side (parent: 891877c)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 12 Oct 2009 08:53:25 +0000 (08:53 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 12 Oct 2009 08:53:25 +0000 (08:53 +0000) |
-disable prototype while in ssh key dialog
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@14578 594d385d-05f5-0310-b6e9-bd551577e9d8
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@14578 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-core/plugins/personal/posix/class_posixAccount.inc | patch | blob | history |
diff --git a/gosa-core/plugins/personal/posix/class_posixAccount.inc b/gosa-core/plugins/personal/posix/class_posixAccount.inc
index 967e0d0aa3118b9559d5ad65032288b25ad4ab4b..43219aa6e60a0aab28d3c4be1e6c84b07d0dbc1e 100644 (file)
}
// Handle ssh dialog?
- if ($this->ssh && preg_match('/[rw]/', $this->getacl("sshPublicKey"))) {
+ if ($this->ssh instanceOf sshPublicKey && preg_match('/[rw]/', $this->getacl("sshPublicKey"))) {
+ $smarty->assign("usePrototype", "false");
if ($result= $this->ssh->execute()) {
$this->dialog= true;
return $result;