mirror of
https://github.com/friendica/friendica
synced 2024-11-19 11:03:40 +00:00
Merge pull request #5781 from annando/issue-5768
Issue 5768: This logging should help finding the origin of the problem
This commit is contained in:
commit
1a16876995
1 changed files with 4 additions and 0 deletions
|
@ -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])) {
|
||||
|
|
Loading…
Reference in a new issue