diff options
Diffstat (limited to 'frontends/php/image.php')
| -rw-r--r-- | frontends/php/image.php | 5 |
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; |
