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/MessageSource_XLIFF.php | |
parent | 637d5678be83c5fae1b21848d53e4d90bd5c0b0d (diff) |
fixed #898
Diffstat (limited to 'framework/I18N/core/MessageSource_XLIFF.php')
-rw-r--r-- | framework/I18N/core/MessageSource_XLIFF.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/framework/I18N/core/MessageSource_XLIFF.php b/framework/I18N/core/MessageSource_XLIFF.php index 4a7db93b..f962e9a1 100644 --- a/framework/I18N/core/MessageSource_XLIFF.php +++ b/framework/I18N/core/MessageSource_XLIFF.php @@ -296,7 +296,7 @@ class MessageSource_XLIFF extends MessageSource $lastNodes = $xpath->query('//trans-unit[last()]');
if(($last=$lastNodes->item(0))!==null)
- $count = intval($last->getAttribute('id'));
+ $count = (int)$last->getAttribute('id');
else
$count = 0;
@@ -520,4 +520,4 @@ EOD; }
}
-?> +?>
|