[icinga-checkins] icinga.org: icingaweb2/feature/translation-catalog-object-13012: CatalogParser: Fix 'unexpected char "" after #'

git at icinga.org git at icinga.org
Tue Nov 22 09:19:20 CET 2016


Module: icingaweb2
Branch: feature/translation-catalog-object-13012
Commit: fffcfcdce251039dc15d8f727707b919fa755abe
URL:    https://git.icinga.org/?p=icingaweb2.git;a=commit;h=fffcfcdce251039dc15d8f727707b919fa755abe

Author: Jennifer Mourek <jennifer.mourek at netways.de>
Date:   Tue Nov 22 09:17:12 2016 +0100

CatalogParser: Fix 'unexpected char "" after #'

refs #13012

---

 modules/translation/library/Translation/Catalog/CatalogParser.php |    2 ++
 1 file changed, 2 insertions(+)

diff --git a/modules/translation/library/Translation/Catalog/CatalogParser.php b/modules/translation/library/Translation/Catalog/CatalogParser.php
index 6966eb1..fcc256c 100644
--- a/modules/translation/library/Translation/Catalog/CatalogParser.php
+++ b/modules/translation/library/Translation/Catalog/CatalogParser.php
@@ -276,6 +276,8 @@ class CatalogParser
                 return array(
                     'obsolete' => true
                 );
+            case null:
+                return array();
             default:
                 throw new CatalogParserException(
                     $this->catalogPath,



More information about the icinga-checkins mailing list