fix: PHP 7.1 function usages with too few parameters (#5588)

This commit is contained in:
Tony Murray
2017-01-25 11:43:45 -06:00
committed by Neil Lathwood
parent 6a1fd3ec05
commit af0446f37f
2 changed files with 2 additions and 2 deletions

View File

@@ -42,7 +42,7 @@ foreach ($sections as $type => $texttype) {
unset($sep);
print_optionbar_end('', '');
print_optionbar_end();
if (file_exists('pages/search/'.$vars['search'].'.inc.php')) {
include 'pages/search/'.$vars['search'].'.inc.php';

View File

@@ -197,7 +197,7 @@ function get_port_by_ifIndex($device_id, $ifIndex)
return dbFetchRow("SELECT * FROM `ports` WHERE `device_id` = ? AND `ifIndex` = ?", array($device_id, $ifIndex));
}
function get_all_devices($device, $type = "")
function get_all_devices()
{
global $cache;
$devices = array();