Operator Panel: Fix php array error.
This commit is contained in:
@@ -128,7 +128,7 @@ if (permission_exists('operator_panel_eavesdrop')) {
|
|||||||
echo " </td>";
|
echo " </td>";
|
||||||
}
|
}
|
||||||
|
|
||||||
if (sizeof($groups) > 0) {
|
if (is_array($groups) && @sizeof($groups) > 0) {
|
||||||
echo " <td valign='top' nowrap='nowrap'>";
|
echo " <td valign='top' nowrap='nowrap'>";
|
||||||
echo " <input type='hidden' id='group' value=\"".escape($_REQUEST['group'])."\">";
|
echo " <input type='hidden' id='group' value=\"".escape($_REQUEST['group'])."\">";
|
||||||
if (sizeof($groups) > 5) {
|
if (sizeof($groups) > 5) {
|
||||||
|
|||||||
Reference in New Issue
Block a user