includes/template.php
changeset 383 1030864dc319
parent 377 bb3e6c3bd4f4
child 389 da3bb3e99323
--- a/includes/template.php	Sun Jan 27 23:45:53 2008 -0500
+++ b/includes/template.php	Mon Jan 28 21:10:45 2008 -0500
@@ -1111,7 +1111,7 @@
     //
     
     // System messages
-    $text = preg_replace('/<!-- SYSMSG ([A-z0-9\._-]+?) -->/is', '\' . $this->tplWikiFormat($paths->sysMsg(\'\\1\')) . \'', $text);
+    $text = preg_replace('/<!-- SYSMSG ([A-z0-9\._-]+?) -->/is', '\' . $template->tplWikiFormat($paths->sysMsg(\'\\1\')) . \'', $text);
     
     // Template variables
     $text = preg_replace('/\{([A-z0-9_-]+?)\}/is', '\' . $this->tpl_strings[\'\\1\'] . \'', $text);