function uc_wishlist_update_purchase in UC Wish List 6
Same name and namespace in other branches
- 7 uc_wishlist.module \uc_wishlist_update_purchase()
1 call to uc_wishlist_update_purchase()
- uc_wishlist_order in ./
uc_wishlist.module - Implements Ubercart hook_order.
File
- ./
uc_wishlist.module, line 604 - Allows users to create public shopping/wish lists.
Code
function uc_wishlist_update_purchase($witem) {
if ($witem->wpid && is_array($witem->purchase)) {
$rv = db_query("UPDATE {uc_wishlist_products} SET purchase = '%s' WHERE wpid = %d", serialize($witem->purchase), $witem->wpid);
}
}