Marius Cramer
2015-06-30 141480275e1407308d7479ca952ba96f64bd90b7
- added access check to limit template select box
1 files modified
2 ■■■ changed files
interface/web/client/client_edit.php 2 ●●● patch | view | raw | blame | history
interface/web/client/client_edit.php
@@ -125,7 +125,7 @@
        global $app;
        $sql = "SELECT template_id,template_name FROM client_template WHERE template_type = 'a' ORDER BY template_name ASC";
        $sql = "SELECT template_id,template_name FROM client_template WHERE template_type = 'a' and ".$app->tform->getAuthSQL('r')." ORDER BY template_name ASC";
        $tpls = $app->db->queryAllRecords($sql);
        $option = '';
        $tpl = array();