Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/zabbix/zabbix.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'frontends/php/adm.iconmapping.php')
-rw-r--r--frontends/php/adm.iconmapping.php10
1 files changed, 5 insertions, 5 deletions
diff --git a/frontends/php/adm.iconmapping.php b/frontends/php/adm.iconmapping.php
index 93672f0f0df..0498a642dd4 100644
--- a/frontends/php/adm.iconmapping.php
+++ b/frontends/php/adm.iconmapping.php
@@ -44,7 +44,7 @@ check_fields($fields);
*/
if (isset($_REQUEST['iconmapid'])) {
$iconMap = API::IconMap()->get(array(
- 'iconmapids' => get_request('iconmapid'),
+ 'iconmapids' => getRequest('iconmapid'),
'output' => API_OUTPUT_EXTEND,
'editable' => true,
'preservekeys' => true,
@@ -130,15 +130,15 @@ $iconMapWidget = new CWidget();
$iconMapWidget->addPageHeader(_('CONFIGURATION OF ICON MAPPING'), $iconMapForm);
$data = array(
- 'form_refresh' => get_request('form_refresh', 0),
- 'iconmapid' => get_request('iconmapid'),
+ 'form_refresh' => getRequest('form_refresh', 0),
+ 'iconmapid' => getRequest('iconmapid'),
'iconList' => array(),
'inventoryList' => array()
);
$iconList = API::Image()->get(array(
+ 'output' => array('imageid', 'name'),
'filter' => array('imagetype' => IMAGE_TYPE_ICON),
- 'output' => API_OUTPUT_EXTEND,
'preservekeys' => true
));
order_result($iconList, 'name');
@@ -154,7 +154,7 @@ foreach ($inventoryFields as $field) {
if (isset($_REQUEST['form'])) {
if ($data['form_refresh'] || ($_REQUEST['form'] === 'clone')) {
- $data['iconmap'] = get_request('iconmap');
+ $data['iconmap'] = getRequest('iconmap');
}
elseif (isset($_REQUEST['iconmapid'])) {
$data['iconmap'] = reset($iconMap);