Changeset 21684 for branches/version-2_12-dev/data/class/util/SC_Utils.php
- Timestamp:
- 2012/03/26 21:44:52 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/version-2_12-dev/data/class/util/SC_Utils.php
r21674 r21684 998 998 function sfArrCombine($arrKeys, $arrValues) { 999 999 1000 if (count($arrKeys) <= 0 and count($arrValues) <= 0) return array();1000 if (count($arrKeys) <= 0 and count($arrValues) <= 0) return array(); 1001 1001 1002 1002 $keys = array_values($arrKeys); … … 1008 1008 $combine_ary[$keys[$i]] = $vals[$i]; 1009 1009 } 1010 if (is_array($combine_ary)) return $combine_ary;1010 if (is_array($combine_ary)) return $combine_ary; 1011 1011 1012 1012 return false; … … 1386 1386 } 1387 1387 // ディレクトリ(ファイル)が存在しない場合は0byteを返す 1388 if($bytes == '') $bytes = 0; 1388 if ($bytes == '') { 1389 $bytes = 0; 1390 } 1389 1391 1390 1392 return $bytes;
Note: See TracChangeset
for help on using the changeset viewer.