From: Antoine Musso Date: Tue, 7 Jun 2011 19:58:10 +0000 (+0000) Subject: remove useless type hint (fu r85004) X-Git-Tag: 1.31.0-rc.0~29630 X-Git-Url: http://git.cyclocoop.org///%22%40url%40//%22?a=commitdiff_plain;h=164cc61f171b81e6b9b93faf1d7be7f279a10d7b;p=lhc%2Fweb%2Fwiklou.git remove useless type hint (fu r85004) --- diff --git a/languages/Language.php b/languages/Language.php index 15c12b2ffb..591bb3943a 100644 --- a/languages/Language.php +++ b/languages/Language.php @@ -1202,7 +1202,7 @@ class Language { private static function tsToIranian( $ts ) { $gy = substr( $ts, 0, 4 ) -1600; $gm = substr( $ts, 4, 2 ) -1; - $gd = (int)substr( $ts, 6, 2 ) -1; + $gd = substr( $ts, 6, 2 ) -1; # Days passed from the beginning (including leap years) $gDayNo = 365 * $gy