From d3d2ac11ee3bbf21767bc053d3ab9fe21cfa2d02 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Tue, 15 Feb 2005 08:18:27 +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 8854f2f6e4..910a14a139 100755 --- a/admin/inc/class.uiaccounts.inc.php +++ b/admin/inc/class.uiaccounts.inc.php @@ -1252,7 +1252,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) . '">':' ').'';