From: Brion Vibber Date: Wed, 9 Dec 2009 01:35:27 +0000 (-0800) Subject: Compat fix for PHP 5.2.4 -- drop unneeded new param to debug_backtrace(), caused... X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=2f59f0ddb5cc6030671af7e751e0ae85e4751497;p=quix0rs-gnu-social.git 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 4b5e977a7b1c390555d880d3dc7f8b8c6744646c --- diff --git a/lib/language.php b/lib/language.php index ab46f1a656..916cee7ed4 100644 --- a/lib/language.php +++ b/lib/language.php @@ -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);