summaryrefslogtreecommitdiffstats
path: root/frontends/php/include/config.inc.php
diff options
context:
space:
mode:
authorhugetoad <hugetoad@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2006-01-16 16:18:47 +0000
committerhugetoad <hugetoad@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2006-01-16 16:18:47 +0000
commit92dfe8919207307d41ad2df941c38ffb55061a88 (patch)
tree9f2a4b3835d1d24b389de63ac034b032d8c362ff /frontends/php/include/config.inc.php
parentb8f80958d84e04ed70e74144f53ecece18f61b9b (diff)
Minor changes.
git-svn-id: svn://svn.zabbix.com/trunk@2531 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'frontends/php/include/config.inc.php')
-rw-r--r--frontends/php/include/config.inc.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/frontends/php/include/config.inc.php b/frontends/php/include/config.inc.php
index 01cdb835..3a8914df 100644
--- a/frontends/php/include/config.inc.php
+++ b/frontends/php/include/config.inc.php
@@ -1828,6 +1828,11 @@ echo "</head>";
{
$ret = 0;
+ if($description==""){
+ error(S_INCORRECT_DESCRIPTION);
+ return 0;
+ }
+
$description=addslashes($description);
$sql="select * from media_type where description='$description'";
$result=DBexecute($sql);