? .uberpos.module.swp
? jquery.scrollTo.js
? contrib/up_authorizenet.module
Index: contrib/up_special_price/up_special_price.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/uberpos/contrib/up_special_price/up_special_price.module,v
retrieving revision 1.5
diff -u -p -r1.5 up_special_price.module
--- contrib/up_special_price/up_special_price.module	12 Feb 2010 21:07:59 -0000	1.5
+++ contrib/up_special_price/up_special_price.module	29 Mar 2010 02:10:03 -0000
@@ -64,11 +64,9 @@ function up_special_price_sp_command(&$o
         /* In the case that uc_vat is enabled, we need to subtract the tax
          * before adding the new price to the database.
          */
-        $sql = db_rewrite_sql("SELECT nid n FROM {uc_order_products} WHERE order_id = %d ORDER BY order_product_id DESC");
-        $result = db_query_range($sql, array($order_new->order_id), 0, 1);
-        $row = db_fetch_object($result);
+        $nid = db_result(db_query_range("SELECT nid FROM {uc_order_products} WHERE order_id = %d ORDER BY order_product_id DESC", array($order_new->order_id), 0, 1));
 
-        $pnode = node_load($row->nid);
+        $pnode = node_load($nid);
 
         $taxes = uc_taxes_rate_load();
 
