Commit c27b1211 authored by Ad Schellevis's avatar Ad Schellevis Committed by Franco Fichtner

(legacy) fix crashreport in_array() expects parameter 2 to be array, null...

(legacy) fix crashreport in_array() expects parameter 2 to be array, null given in /usr/local/www/system_groupmanager_addprivs.php on line 131

(cherry picked from commit 6713d121)
parent d3bf5f04
......@@ -128,7 +128,7 @@ include("head.inc");
<select name="sysprivs[]" id="sysprivs" class="formselect" multiple="multiple" size="35">
<?php
foreach ($priv_list as $pname => $pdata) :
if (in_array($pname, $a_user['priv'])) {
if (in_array($pname, $a_group['priv'])) {
continue;
}
?>
......
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