]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Compat fix for PHP 5.2.4 -- drop unneeded new param to debug_backtrace(), caused...
authorBrion Vibber <brion@pobox.com>
Wed, 9 Dec 2009 01:35:27 +0000 (17:35 -0800)
committerBrion Vibber <brion@pobox.com>
Wed, 9 Dec 2009 01:35:27 +0000 (17:35 -0800)
Fix for regression in 4b5e977a7b1c390555d880d3dc7f8b8c6744646c

lib/language.php

index ab46f1a656f2491a7395641c682fa16805c57c77..916cee7ed4760a123674db326535e291250359ee 100644 (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);