diff options
author | Bharat Mediratta <bharat@menalto.com> | 2009-03-19 01:47:42 +0000 |
---|---|---|
committer | Bharat Mediratta <bharat@menalto.com> | 2009-03-19 01:47:42 +0000 |
commit | 0b721258f42c0775d1fb90966a82fe3a81763e00 (patch) | |
tree | da508f5449e9955724d81a521f09c182db29035a | |
parent | 03877250f2447a9edc5ba210125f6d11c2fbd1b4 (diff) |
Fix syntax errors.
-rw-r--r-- | core/libraries/L10n_Scanner.php | 4 |
1 files changed, 2 insertions, 2 deletions
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 { |