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:
Brion Vibber 2009-12-08 17:35:27 -08:00
parent 789378838b
commit 2f59f0ddb5

View File

@ -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);