Compat fix for PHP 5.2.4 -- drop unneeded new param to debug_backtrace(), caused error spew on older PHP (introduced PHP 5.2.5)
Fix for regression in 4b5e977a7b
This commit is contained in:
parent
789378838b
commit
2f59f0ddb5
@ -153,7 +153,7 @@ if (!function_exists('npgettext')) {
|
||||
*/
|
||||
function _m($msg/*, ...*/)
|
||||
{
|
||||
$domain = _mdomain(debug_backtrace(false));
|
||||
$domain = _mdomain(debug_backtrace());
|
||||
$args = func_get_args();
|
||||
switch(count($args)) {
|
||||
case 1: return dgettext($domain, $msg);
|
||||
|
Loading…
Reference in New Issue
Block a user