Changeset 13494 for branches/rel
- Timestamp:
- 2007/05/28 15:40:00 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/rel/html/products/list.php
r13457 r13494 421 421 function lfconvertParam () { 422 422 global $objPage; 423 $count = 1; 424 while(1) { 425 $quantity_key = 'quantity' . $count; 426 if (isset($objPage->arrForm[$quantity_key])) { 427 $objPage->arrForm[$quantity_key] 428 = htmlspecialchars($objPage->arrForm[$quantity_key], ENT_QUOTES, CHAR_CODE); 429 } else { 430 break; 423 424 foreach ($objPage->arrForm as $key => $value) { 425 if (preg_match('/^quantity[0-9]+/', $key)) { 426 $objPage->arrForm[$key] 427 = htmlspecialchars($objPage->arrForm[$key], ENT_QUOTES, CHAR_CODE); 431 428 } 432 $count++;433 429 } 434 430 }
Note: See TracChangeset
for help on using the changeset viewer.