summaryrefslogtreecommitdiff
path: root/lib/language.php
diff options
context:
space:
mode:
authorBrion Vibber <brion@pobox.com>2009-12-08 17:35:27 -0800
committerBrion Vibber <brion@pobox.com>2009-12-08 17:35:27 -0800
commit2f59f0ddb5cc6030671af7e751e0ae85e4751497 (patch)
treeb0afd278691bfba2478b0de9efd55aaa8574d98c /lib/language.php
parent789378838b9a3ad6bff906d70c8316527aed9e98 (diff)
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
Diffstat (limited to 'lib/language.php')
-rw-r--r--lib/language.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/language.php b/lib/language.php
index ab46f1a65..916cee7ed 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);