From c1e1801b078e524a6c3f4fa068c6c16a4c47b39e Mon Sep 17 00:00:00 2001 From: Robert Sesek Date: Sat, 24 Dec 2005 20:31:07 +0000 Subject: [PATCH] Match some things to make sure we don't have a blank $Id$ in construct_debug_block() --- kernel.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel.php b/kernel.php index 37c6e89..7493ae2 100644 --- a/kernel.php +++ b/kernel.php @@ -860,7 +860,7 @@ class Shared_Object_Framework { $scinfo = constant('SVN'); - if ($test == '$' . 'Id: $') + if (preg_match('#\$Id:?\s*\$#', $scinfo)) { $scinfo = 'Not Under Source Control'; } -- 2.43.5