diff options
author | knut <> | 2008-08-06 01:34:06 +0000 |
---|---|---|
committer | knut <> | 2008-08-06 01:34:06 +0000 |
commit | f7f3d150ef35c026bf6aee72e78362e263419e1a (patch) | |
tree | 6e060c20928f46a801e2087459a10958bf529685 /framework/Util/TDateTimeStamp.php | |
parent | 637d5678be83c5fae1b21848d53e4d90bd5c0b0d (diff) |
fixed #898
Diffstat (limited to 'framework/Util/TDateTimeStamp.php')
-rw-r--r-- | framework/Util/TDateTimeStamp.php | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/framework/Util/TDateTimeStamp.php b/framework/Util/TDateTimeStamp.php index c2fb1327..07466462 100644 --- a/framework/Util/TDateTimeStamp.php +++ b/framework/Util/TDateTimeStamp.php @@ -9,7 +9,7 @@ *
* @author Wei Zhuo <weizhuo[at]gamil[dot]com>
* @link http://www.pradosoft.com/
- * @copyright Copyright © 2005-2008 PradoSoft + * @copyright Copyright © 2005-2008 PradoSoft
* @license http://www.pradosoft.com/license/
* @version $Id$
* @package System.Util
@@ -619,9 +619,9 @@ class TDateTimeStamp $min = intval($min);
$sec = intval($sec);
*/
- $mon = intval($mon);
- $day = intval($day);
- $year = intval($year);
+ $mon = (int)$mon;
+ $day = (int)$day;
+ $year = (int)$year;
$year = $this->digitCheck($year);
@@ -700,4 +700,4 @@ class TDateTimeStamp }
}
-?> +?>
|