Commit f95b0e3d authored by tbrehm's avatar tbrehm
Browse files

Fixed: FS#1284 - Normal users cannot select a recipient under Help > Support > Send message.

parent 8d3061f0
......@@ -55,14 +55,14 @@ $form["tabs"]['message'] = array (
'formtype' => 'SELECT',
'default' => '',
'datasource' => array ( 'type' => 'SQL',
'querystring' => 'SELECT userid,username FROM sys_user WHERE {AUTHSQL} ORDER BY username',
'querystring' => 'SELECT userid,username FROM sys_user WHERE userid != 1 AND {AUTHSQL} ORDER BY username',
'keyfield' => 'userid',
'valuefield' => 'username'
),
'validators' => array ( 0 => array ( 'type' => 'ISINT',
'errmsg'=> 'recipient_id_is_not_integer'),
),
'value' => ''
'value' => array(1 => 'Administrator')
),
'sender_id' => array (
'datatype' => 'INTEGER',
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment