From 1dbe20e5048bd0eb4309dae0ebe1c018b13e934e Mon Sep 17 00:00:00 2001 From: Robert Sesek Date: Sun, 22 Jan 2006 18:40:25 +0000 Subject: [PATCH] Can't use $this in regex #e --- includes/svncommon.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/svncommon.php b/includes/svncommon.php index 5e39e8d..c1f4c8e 100644 --- a/includes/svncommon.php +++ b/includes/svncommon.php @@ -54,7 +54,7 @@ class SVNCommon // spaces to nbsp if (true) { - $string = preg_replace('#( +)#e', '$this->format_spaces("\1")', $string); + $string = preg_replace('#( +)#e', 'SVNCommon::format_spaces("\1")', $string); } // no word wrap else -- 2.43.5