Skip to content

Commit f95b0e3

Browse files
committed
Fixed: FS#1284 - Normal users cannot select a recipient under Help > Support > Send message.
1 parent 8d3061f commit f95b0e3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

interface/web/help/form/support_message.tform.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,14 +55,14 @@
5555
'formtype' => 'SELECT',
5656
'default' => '',
5757
'datasource' => array ( 'type' => 'SQL',
58-
'querystring' => 'SELECT userid,username FROM sys_user WHERE {AUTHSQL} ORDER BY username',
58+
'querystring' => 'SELECT userid,username FROM sys_user WHERE userid != 1 AND {AUTHSQL} ORDER BY username',
5959
'keyfield' => 'userid',
6060
'valuefield' => 'username'
6161
),
6262
'validators' => array ( 0 => array ( 'type' => 'ISINT',
6363
'errmsg'=> 'recipient_id_is_not_integer'),
6464
),
65-
'value' => ''
65+
'value' => array(1 => 'Administrator')
6666
),
6767
'sender_id' => array (
6868
'datatype' => 'INTEGER',

0 commit comments

Comments
 (0)