Commit 1dd41acc authored by Brian's avatar Brian

Filter php only snippets

parent 112ad827
Pipeline #6527 passed with stage
in 7 minutes and 42 seconds
......@@ -679,7 +679,7 @@ $form["tabs"]['limits'] = array (
'default' => '',
'value' => '',
'datasource' => array ( 'type' => 'SQL',
'querystring' => "SELECT directive_snippets_id,name FROM directive_snippets WHERE active='y' AND (type='apache' or type='nginx') AND {AUTHSQL} ORDER BY directive_snippets_id",
'querystring' => "SELECT directive_snippets_id,name FROM directive_snippets WHERE active='y' AND type='apache' AND required_php_snippets != '' AND {AUTHSQL} ORDER BY directive_snippets_id",
'keyfield'=> 'directive_snippets_id',
'valuefield'=> 'name'
),
......
Markdown is supported
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