summaryrefslogtreecommitdiffstats
path: root/frontends/php/image.php
diff options
context:
space:
mode:
authorosmiy <osmiy@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2006-05-23 14:04:50 +0000
committerosmiy <osmiy@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2006-05-23 14:04:50 +0000
commit026ee8a0f799dc8faec5bf4ce591746d06795b23 (patch)
treefaf519f6f76d14bdd24155e4495f44c590850ce6 /frontends/php/image.php
parent90c8eec0c0e5e610b7ba83c1ba46e598f0d060e2 (diff)
downloadzabbix-026ee8a0f799dc8faec5bf4ce591746d06795b23.tar.gz
zabbix-026ee8a0f799dc8faec5bf4ce591746d06795b23.tar.xz
zabbix-026ee8a0f799dc8faec5bf4ce591746d06795b23.zip
- fixed image storing for oracle (Eugene)
git-svn-id: svn://svn.zabbix.com/trunk@2884 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'frontends/php/image.php')
-rw-r--r--frontends/php/image.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/frontends/php/image.php b/frontends/php/image.php
index c4d3bca2..8cadcd8c 100644
--- a/frontends/php/image.php
+++ b/frontends/php/image.php
@@ -51,8 +51,9 @@
$th_height = get_request("height",0);
}
- $result=DBselect("select image from images where imageid=".$_REQUEST["imageid"]);
- $row=DBfetch($result);
+ //$result=DBselect("select image from images where imageid=".$_REQUEST["imageid"]);
+ //$row=DBfetch($result);
+ $row = get_image_by_imageid($_REQUEST["imageid"]);
if($row["image"] == "") exit;