Page 1 of 1

Error in file functions_images.inc.php

Posted: Thu Oct 09, 2008 9:04 am
by frabron
Hi,

I found a bug (missing quotes) in the functions_images.inc.php file while answering this topic http://board.s9y.org/viewtopic.php?t=13940 about a query not functioning. You can see the details there but I will post a quick diff

Line 208:

Code: Select all

$query = "SELECT {$cond['distinct']} i.id, {$cond[orderkey]} AS orderkey, 
should be

Code: Select all

$query = "SELECT {$cond['distinct']} i.id, {$cond['orderkey']} AS orderkey, 
please note the missing quotes on
$cond['orderkey']
Greetings Frank

EDIT:
:shock: Superduper, got the wrong forum, sorry for that ...