diff options
author | xue <> | 2007-05-22 02:41:25 +0000 |
---|---|---|
committer | xue <> | 2007-05-22 02:41:25 +0000 |
commit | 4f150299bd476330fe87a72bd1d86e30fb376c0a (patch) | |
tree | 03c9b9530b9cd18e72ddd3063f719e64aa2597ad /framework/Exceptions | |
parent | 145bf79b171badc6ab4e391f5e22afb3efb60e4b (diff) |
Fixed an issue in error display linking.
Diffstat (limited to 'framework/Exceptions')
-rw-r--r-- | framework/Exceptions/TErrorHandler.php | 2 |
1 files changed, 1 insertions, 1 deletions
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+)/',"<a href=\"$baseUrl/\${1}\" target=\"_blank\">\${1}</a>",$message);
+ return preg_replace('/\b(T[A-Z]\w+)\b/',"<a href=\"$baseUrl/\${1}\" target=\"_blank\">\${1}</a>",$message);
}
}
|