From 0b721258f42c0775d1fb90966a82fe3a81763e00 Mon Sep 17 00:00:00 2001 From: Bharat Mediratta Date: Thu, 19 Mar 2009 01:47:42 +0000 Subject: Fix syntax errors. --- core/libraries/L10n_Scanner.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'core') diff --git a/core/libraries/L10n_Scanner.php b/core/libraries/L10n_Scanner.php index 85b54ef3..fcbfd0a5 100644 --- a/core/libraries/L10n_Scanner.php +++ b/core/libraries/L10n_Scanner.php @@ -58,7 +58,7 @@ class L10n_Scanner_Core { new L10n_Scanner_Directory_Filter_Iterator( new RecursiveDirectoryIterator(DOCROOT)))); foreach ($dir as $file) { - if substr(strrchr($file->getFilename(), '.'), 1) == "php") { + if (substr(strrchr($file->getFilename(), '.'), 1) == "php") { $this->_scan_php_file($file, $this); } else { $this->_scan_info_file($file, $this); @@ -128,7 +128,7 @@ class L10n_Scanner_Core { if ($parens == "(") { if (in_array($next_token, array(")", ",")) - && (is_array($first_param) && ($first_param[0] == T_CONSTANT_ENCAPSED_STRING))) {x + && (is_array($first_param) && ($first_param[0] == T_CONSTANT_ENCAPSED_STRING))) { $message = self::_escape_quoted_string($first_param[1]); $message_handler->process_message($message); } else { -- cgit v1.2.3