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