File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -148,7 +148,7 @@ function onShowEnd() {
148148
149149 // Get the spamfilter policys for the user
150150 $ tmp_user = $ app ->db ->queryOneRecord ("SELECT policy_id FROM spamfilter_users WHERE email = '@ " .$ app ->db ->quote ($ this ->dataRecord ["domain " ])."' " );
151- $ sql = "SELECT id, policy_name FROM spamfilter_policy WHERE " .$ app ->tform ->getAuthSQL ('r ' );
151+ $ sql = "SELECT id, policy_name FROM spamfilter_policy WHERE " .$ app ->tform ->getAuthSQL ('r ' ). " ORDER BY policy_name " ;
152152 $ policys = $ app ->db ->queryAllRecords ($ sql );
153153 $ policy_select = "<option value='0'> " .$ app ->tform ->wordbook ["no_policy " ]."</option> " ;
154154 if (is_array ($ policys )) {
Original file line number Diff line number Diff line change @@ -93,7 +93,7 @@ function onShowEnd() {
9393
9494 // Get the spamfilter policys for the user
9595 $ tmp_user = $ app ->db ->queryOneRecord ("SELECT policy_id FROM spamfilter_users WHERE email = ' " .$ app ->db ->quote ($ this ->dataRecord ["email " ])."' " );
96- $ sql = "SELECT id, policy_name FROM spamfilter_policy WHERE " .$ app ->tform ->getAuthSQL ('r ' );
96+ $ sql = "SELECT id, policy_name FROM spamfilter_policy WHERE " .$ app ->tform ->getAuthSQL ('r ' ) . " ORDER BY policy_name " ;
9797 $ policys = $ app ->db ->queryAllRecords ($ sql );
9898 $ policy_select = "<option value='0'> " .$ app ->tform ->lng ("no_policy " )."</option> " ;
9999 if (is_array ($ policys )) {
You can’t perform that action at this time.
0 commit comments