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