Changeset 21205 for extensions/PayPalShoppingCart/main.inc.php
- Timestamp:
- Mar 5, 2013, 12:33:22 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
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.