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/I18N/core/MessageCache.php | |
parent | 637d5678be83c5fae1b21848d53e4d90bd5c0b0d (diff) |
fixed #898
Diffstat (limited to 'framework/I18N/core/MessageCache.php')
-rw-r--r-- | framework/I18N/core/MessageCache.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/framework/I18N/core/MessageCache.php b/framework/I18N/core/MessageCache.php index 7d15e8c6..d4f58f1d 100644 --- a/framework/I18N/core/MessageCache.php +++ b/framework/I18N/core/MessageCache.php @@ -74,7 +74,7 @@ class MessageCache */
public function setLifeTime($time)
{
- $this->lifetime = intval($time);
+ $this->lifetime = (int)$time;
}
/**
@@ -119,7 +119,7 @@ class MessageCache return false;
- $lastmodified = intval($lastmodified);
+ $lastmodified = (int)$lastmodified;
if($lastmodified <= 0 || $lastmodified > filemtime($cache))
return false;
@@ -168,4 +168,4 @@ class MessageCache }
-?> +?>
|