Changeset 21205 for extensions/PayPalShoppingCart
- Timestamp:
- Mar 5, 2013, 12:33:22 PM (11 years ago)
- Location:
- extensions/PayPalShoppingCart
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/PayPalShoppingCart/admin.php
r19465 r21205 80 80 $query='SELECT value FROM '.PPPPP_CONFIG_TABLE.' WHERE param = \'currency\';'; 81 81 $result = pwg_query($query); 82 $row = mysql_fetch_array($result);82 $row = pwg_db_fetch_row($result); 83 83 $template->assign('ppppp_currency',$row[0]); 84 84 … … 161 161 $query='SELECT * FROM '.PPPPP_SIZE_TABLE.';'; 162 162 $result = pwg_query($query); 163 while($row = mysql_fetch_array($result)){163 while($row = pwg_db_fetch_assoc($result)){ 164 164 $template->append('ppppp_array_size',$row); 165 165 } … … 175 175 $query='SELECT value FROM '.PPPPP_CONFIG_TABLE.' WHERE param = \'fixed_shipping\';'; 176 176 $result = pwg_query($query); 177 $row = mysql_fetch_array($result);177 $row = pwg_db_fetch_row($result); 178 178 $template->assign('ppppp_fixed_shipping',$row[0]); 179 179 break; -
extensions/PayPalShoppingCart/main.inc.php
r19577 r21205 150 150 $query='SELECT * FROM '.PPPPP_SIZE_TABLE.' '.@$conf['PayPalShoppingCart_sizes_order_by'].';'; 151 151 $result = pwg_query($query); 152 while($row = mysql_fetch_array($result)){152 while($row = pwg_db_fetch_assoc($result)){ 153 153 $template->append('ppppp_array_size',$row); 154 154 } 155 155 $query='SELECT value FROM '.PPPPP_CONFIG_TABLE.' WHERE param = \'fixed_shipping\';'; 156 156 $result = pwg_query($query); 157 $row = mysql_fetch_array($result);157 $row = pwg_db_fetch_row($result); 158 158 $template->assign('ppppp_fixed_shipping',$row[0]); 159 159 $query='SELECT value FROM '.PPPPP_CONFIG_TABLE.' WHERE param = \'currency\';'; 160 160 $result = pwg_query($query); 161 $row = mysql_fetch_array($result);161 $row = pwg_db_fetch_row($result); 162 162 $template->assign('ppppp_currency',$row[0]); 163 163
Note: See TracChangeset
for help on using the changeset viewer.