From 70d6d035fc0bdc1717b21c503f85dd03f088acc3 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Tue, 15 Feb 2005 08:29:29 +0000 Subject: [PATCH] fixed bug reported on the devel-list: clicking on "Grand access" icons (pencil) while adding a new account results in an sql error ==> icon not longer shown, as we have no user-id yet --- admin/inc/class.uiaccounts.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/admin/inc/class.uiaccounts.inc.php b/admin/inc/class.uiaccounts.inc.php index 87026fd1a0..b88173d570 100755 --- a/admin/inc/class.uiaccounts.inc.php +++ b/admin/inc/class.uiaccounts.inc.php @@ -1230,7 +1230,7 @@ $checked = (@$userData['account_permissions'][$app] || @$db_perms[$app]) && $_account_id ? ' checked="1"' : ''; $part[$i&1] = sprintf('%s', $data['title'],$app,$checked). - ($this->apps_with_acl[$app]?'link('/index.php','menuaction=preferences.uiaclprefs.index&acl_app='.$app.'&owner='.$_account_id) . '">':' ').'';