Changeset 20428 for branches/version-2_5-dev/data/class/SC_FormParam.php
- Timestamp:
- 2011/02/27 01:13:17 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/version-2_5-dev/data/class/SC_FormParam.php
r20255 r20428 141 141 142 142 if (!empty($db_date)) { 143 list($y, $m, $d) = split("[- ]", $db_date);143 list($y, $m, $d) = preg_split("/[- ]/", $db_date); 144 144 $this->setValue($year_key, $y); 145 145 $this->setValue($month_key, $m); … … 427 427 if($val == $keyname) { 428 428 if(isset($this->param[$cnt]) && !is_array($this->param[$cnt])) { 429 $this->param[$cnt] = split("-", $this->param[$cnt]);429 $this->param[$cnt] = explode("-", $this->param[$cnt]); 430 430 } 431 431 }
Note: See TracChangeset
for help on using the changeset viewer.
