Closed (fixed)
Project:
Ubercart Product Keys
Version:
6.x-1.0
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
30 Nov 2011 at 20:30 UTC
Updated:
25 Jul 2012 at 17:51 UTC
The SQL query in_uc_product_keys_db_assign_keys currently looks like this:
$result =
db_query(
"SELECT * FROM {uc_product_keys} WHERE pksid = %s AND status = %d LIMIT %d",
$product->pksid, UC_PRODUCT_KEYS_STATUS_UNASSIGNED, $order_product->qty);
The pksid is an integer field, so WHERE pksid=%d would be correct here.
Comments
Comment #1
freixas commentedSounds good.
Change checked in.
Comment #2
gabor_h commented