summaryrefslogtreecommitdiffstats
path: root/frontends/php/include/forms.inc.php
diff options
context:
space:
mode:
authorosmiy <osmiy@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2006-05-19 09:18:27 +0000
committerosmiy <osmiy@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2006-05-19 09:18:27 +0000
commit55258ec574e3e9a0984b13cf119d725dd8ae1791 (patch)
treebbb37fe8a5d51d7eb363989108becaa5399bcd8d /frontends/php/include/forms.inc.php
parent1c3253c2dddc63349e34e38d681bedeede2da8a7 (diff)
- fixed oracle sql request limitation
git-svn-id: svn://svn.zabbix.com/trunk@2859 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'frontends/php/include/forms.inc.php')
-rw-r--r--frontends/php/include/forms.inc.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/frontends/php/include/forms.inc.php b/frontends/php/include/forms.inc.php
index f7351ebc..11fb538d 100644
--- a/frontends/php/include/forms.inc.php
+++ b/frontends/php/include/forms.inc.php
@@ -2499,7 +2499,7 @@
if($elementid==0)
{
- $db_hosts = DBselect("select hostid,host from hosts limit 1");
+ $db_hosts = DBselect("select hostid,host from hosts",1);
$db_host = DBfetch($db_hosts);
$host = $db_host["host"];
$elementid = $db_host["hostid"];