From 3e5e9bf730e68b0a9e25c5a16d458c0c5c192f84 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Tue, 21 Jan 2014 18:06:07 +0000 Subject: [PATCH] fixed sql error caused by using sort="account_lid" instead of order="account_lid" --- preferences/inc/class.preferences_settings.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/preferences/inc/class.preferences_settings.inc.php b/preferences/inc/class.preferences_settings.inc.php index c0a335fc53..775e268fd4 100644 --- a/preferences/inc/class.preferences_settings.inc.php +++ b/preferences/inc/class.preferences_settings.inc.php @@ -445,7 +445,7 @@ class preferences_settings $user_apps = $GLOBALS['egw']->acl->get_user_applications($id); $sel_options['appname'] = array_intersect_key($sel_options['appname'], $user_apps); } - foreach($GLOBALS['egw']->accounts->search(array('type' => 'groups', 'sort' => 'account_lid')) as $account_id => $group) + foreach($GLOBALS['egw']->accounts->search(array('type' => 'groups', 'order' => 'account_lid')) as $account_id => $group) { $sel_options['type']['group:'.$account_id] = lang('Preferences').' '.common::display_fullname($group['account_lid'], '', '', $account_id); }