--- sites/all/modules/uc_node_checkout/uc_node_checkout.module Fri Jun 15 10:24:59 2012 +++ sites/all/modules/uc_node_checkout/uc_node_checkout.module Fri Jun 15 12:37:26 2012 @@ -1139,7 +1139,7 @@ $result = db_query('SELECT * FROM {uc_cart_products} WHERE data LIKE :nid', array(':nid' => '%\"node_checkout_nid\";i:' . $nid . ';%'))->fetchField(); // If a matching product was found in the DB for this node... - if ($item = $result->fetch()) { + if ($result !== FALSE and $item = $result->fetch()) { $item->data = unserialize($item->data); $items[$nid] = $item; }