Changeset 14732 for branches/rel
- Timestamp:
- 2007/06/17 22:28:08 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/rel/data/class/SC_CartSession.php
r14117 r14732 67 67 // ¼¡¤Ë³ä¤êÅö¤Æ¤ë¥«¡¼¥È¤ÎID¤ò¼èÆÀ¤¹¤ë 68 68 function getNextCartID() { 69 $max = count($_SESSION[$this->key]); 70 for($i = 0; $i < $max; $i++) { 71 $arrRet[] = $_SESSION[$this->key][$i]['cart_no']; 72 } 69 foreach($_SESSION[$this->key] as $key => $val){ 70 $arrRet[] = $_SESSION[$this->key][$key]['cart_no']; 71 } 73 72 return (max($arrRet) + 1); 74 73 }
Note: See TracChangeset
for help on using the changeset viewer.