From 026ee8a0f799dc8faec5bf4ce591746d06795b23 Mon Sep 17 00:00:00 2001 From: osmiy Date: Tue, 23 May 2006 14:04:50 +0000 Subject: - fixed image storing for oracle (Eugene) git-svn-id: svn://svn.zabbix.com/trunk@2884 97f52cf1-0a1b-0410-bd0e-c28be96e8082 --- frontends/php/image.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'frontends/php/image.php') 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; -- cgit