$msg not defined...use $text?
authorAaron Schulz <aaron@users.mediawiki.org>
Sat, 13 Sep 2008 16:00:38 +0000 (16:00 +0000)
committerAaron Schulz <aaron@users.mediawiki.org>
Sat, 13 Sep 2008 16:00:38 +0000 (16:00 +0000)
includes/db/Database.php

index 3c37f70..ff7be62 100644 (file)
@@ -2521,13 +2521,13 @@ border=\"0\" ALT=\"Google\"></A>
                        $cache = new HTMLFileCache( $t );
                        if( $cache->isFileCached() ) {
                                // @todo, FIXME: $msg is not defined on the next line.
-                               $msg = '<p style="color: red"><b>'.$msg."<br />\n" .
+                               $msg = '<p style="color: red"><b>'.$text."<br />\n" .
                                        $cachederror . "</b></p>\n";
 
                                $tag = '<div id="article">';
                                $text = str_replace(
                                        $tag,
-                                       $tag . $msg,
+                                       $tag . $text,
                                        $cache->fetchPageText() );
                        }
                }