summaryrefslogtreecommitdiffstats
path: root/frontends/php/include/media.inc.php
diff options
context:
space:
mode:
authorsasha <sasha@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2008-05-27 09:26:12 +0000
committersasha <sasha@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2008-05-27 09:26:12 +0000
commit70f35ff303e4c22ff4e38d42953f2008f10824da (patch)
treed838dc5ad1254e9847627c5491c1bd24d9e6a5ec /frontends/php/include/media.inc.php
parent0ee1e17fdd240f0121f7eed9bd26959910075569 (diff)
downloadzabbix-70f35ff303e4c22ff4e38d42953f2008f10824da.tar.gz
zabbix-70f35ff303e4c22ff4e38d42953f2008f10824da.tar.xz
zabbix-70f35ff303e4c22ff4e38d42953f2008f10824da.zip
- [DEV-173] added support of notification escalations on server side
git-svn-id: svn://svn.zabbix.com/trunk@5727 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'frontends/php/include/media.inc.php')
-rw-r--r--frontends/php/include/media.inc.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/frontends/php/include/media.inc.php b/frontends/php/include/media.inc.php
index 9effc6dd..fd63eb14 100644
--- a/frontends/php/include/media.inc.php
+++ b/frontends/php/include/media.inc.php
@@ -22,10 +22,10 @@
function media_type2str($type)
{
- $str_type[ALERT_TYPE_EMAIL] = S_EMAIL;
- $str_type[ALERT_TYPE_EXEC] = S_SCRIPT;
- $str_type[ALERT_TYPE_SMS] = S_SMS;
- $str_type[ALERT_TYPE_JABBER] = S_JABBER;
+ $str_type[MEDIA_TYPE_EMAIL] = S_EMAIL;
+ $str_type[MEDIA_TYPE_EXEC] = S_SCRIPT;
+ $str_type[MEDIA_TYPE_SMS] = S_SMS;
+ $str_type[MEDIA_TYPE_JABBER] = S_JABBER;
if(isset($str_type[$type]))
return $str_type[$type];