]> git.mxchange.org Git - friendica.git/commitdiff
Issue 5768: This logging should help finding the origin of the problem
authorMichael <heluecht@pirati.ca>
Sat, 22 Sep 2018 07:09:27 +0000 (07:09 +0000)
committerMichael <heluecht@pirati.ca>
Sat, 22 Sep 2018 07:09:27 +0000 (07:09 +0000)
src/Core/L10n.php

index 8cdd935917539d3bac262de4909ee5d93424ffee..542590646d4b21e11a77beda055a62a0f666fe25 100644 (file)
@@ -183,6 +183,10 @@ class L10n extends BaseObject
        {
                $a = self::getApp();
 
+               if (!is_numeric($count)) {
+                       logger('Non numeric count called by ' . System::callstack(20));
+               }
+
                $lang = Config::get('system', 'language');
 
                if (!empty($a->strings[$singular])) {