From 048d4ce7fdaa08a1c7ce83c96c43be4f46558c77 Mon Sep 17 00:00:00 2001 From: "Alexander M. Turek" Date: Tue, 18 Nov 2003 21:17:22 +0000 Subject: [PATCH] workaround for CVS tag auto-replacements :o) --- libraries/common.lib.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/common.lib.php b/libraries/common.lib.php index 7b154d116..9755973f2 100644 --- a/libraries/common.lib.php +++ b/libraries/common.lib.php @@ -138,7 +138,7 @@ h1 {font-family: sans-serif; font-size: large; font-weight: bold} if (isset($cfg['FileRevision'])) { // converting revision string into an array // e.g. "Revision: 2.0" becomes array(2, 0). - $cfg['FileRevision'] = str_replace('$Revision$cfg['FileRevision']); + $cfg['FileRevision'] = str_replace('$' . 'Revision: ', '', $cfg['FileRevision']); $cfg['FileRevision'] = str_replace(' $', '', $cfg['FileRevision']); $cfg['FileRevision'] = explode('.', $cfg['FileRevision']); } else {