From 4f150299bd476330fe87a72bd1d86e30fb376c0a Mon Sep 17 00:00:00 2001 From: xue <> Date: Tue, 22 May 2007 02:41:25 +0000 Subject: Fixed an issue in error display linking. --- framework/Exceptions/TErrorHandler.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'framework') diff --git a/framework/Exceptions/TErrorHandler.php b/framework/Exceptions/TErrorHandler.php index c0216f02..cda356fa 100644 --- a/framework/Exceptions/TErrorHandler.php +++ b/framework/Exceptions/TErrorHandler.php @@ -310,7 +310,7 @@ class TErrorHandler extends TModule private function addLink($message) { $baseUrl='http://www.pradosoft.com/docs/classdoc'; - return preg_replace('/(T[A-Z]\w+)/',"\${1}",$message); + return preg_replace('/\b(T[A-Z]\w+)\b/',"\${1}",$message); } } -- cgit v1.2.3