Closed (fixed)
Project:
Ubercart Product Keys
Version:
6.x-1.0
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
28 Nov 2011 at 20:34 UTC
Updated:
25 Jul 2012 at 17:51 UTC
Hi,
The _uc_product_keys_db_get_keys() fails if the $limit parameter is 0.
if ($limit > 0) {
$result = pager_query($query, $limit, 0, null, $value);
}
else {
$result = db_query($query . $value);
}
A comma would be better:
$result = db_query($query , $value);
Thanks,
Gabor
Comments
Comment #1
freixas commentedSounds good.
Change checked in.
Comment #2
gabor_h commentedThank you.