theme fixes

This commit is contained in:
SJ
2013-08-06 06:36:56 +02:00
parent 33871b21b7
commit e5b1a19b68
18 changed files with 85 additions and 50 deletions

View File

@ -39,7 +39,7 @@ class ModelAuditAudit extends Model {
$where .= " AND ( " . $this->append_search_criteria("meta_id", $data['ref'], $arr) . " )";
}
if(Registry::get('admin_user') == 0) {
if(Registry::get('admin_user') == 0 && RESTRICTED_AUDITOR == 1) {
while(list($k, $v) = each($_SESSION['auditdomains'])) {
if($q) { $q .= ","; }
$q .= "?";