Commit version 24.12.13800
This commit is contained in:
@ -4,26 +4,30 @@
|
||||
*
|
||||
* This file is part of Observium.
|
||||
*
|
||||
* @package observium
|
||||
* @subpackage web
|
||||
* @copyright (C) 2006-2013 Adam Armstrong, (C) 2013-2022 Observium Limited
|
||||
* @package observium
|
||||
* @subpackage web
|
||||
* @copyright (C) Adam Armstrong
|
||||
*
|
||||
*/
|
||||
|
||||
$ap = dbFetchRow("SELECT * FROM `accesspoints` LEFT JOIN `accesspoints-state` USING (`accesspoint_id`) WHERE `device_id` = ? AND accesspoints.`accesspoint_id` = ? AND `deleted` = '0' ORDER BY `name`,`radio_number` ASC", array($device['device_id'],$vars['ap']));
|
||||
$sql = "SELECT * FROM `accesspoints` LEFT JOIN `accesspoints-state` USING (`accesspoint_id`)
|
||||
WHERE `device_id` = ? AND accesspoints.`accesspoint_id` = ? AND `deleted` = '0'
|
||||
ORDER BY `name`,`radio_number` ASC";
|
||||
|
||||
$ap = dbFetchRow($sql, [$device['device_id'], $vars['ap']]);
|
||||
|
||||
if (safe_empty($ap)) {
|
||||
print_error("No Access Point Found");
|
||||
return;
|
||||
print_error("No Access Point Found");
|
||||
return;
|
||||
}
|
||||
|
||||
echo generate_box_open();
|
||||
|
||||
echo '<table class="table table-striped">';
|
||||
|
||||
include($config['html_dir'].'/includes/print-accesspoint.inc.php');
|
||||
include($config['html_dir'] . '/includes/print-accesspoint.inc.php');
|
||||
|
||||
echo '</table>' ;
|
||||
echo '</table>';
|
||||
|
||||
echo generate_box_close();
|
||||
|
||||
|
Reference in New Issue
Block a user