Issue 5768: This logging should help finding the origin of the problem
This commit is contained in:
parent
8dc5b04be7
commit
b3e3147697
|
@ -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 New Issue
Block a user