Index: trunk/phase3/includes/db/Database.php |
— | — | @@ -2521,13 +2521,13 @@ |
2522 | 2522 | $cache = new HTMLFileCache( $t ); |
2523 | 2523 | if( $cache->isFileCached() ) { |
2524 | 2524 | // @todo, FIXME: $msg is not defined on the next line. |
2525 | | - $msg = '<p style="color: red"><b>'.$msg."<br />\n" . |
| 2525 | + $msg = '<p style="color: red"><b>'.$text."<br />\n" . |
2526 | 2526 | $cachederror . "</b></p>\n"; |
2527 | 2527 | |
2528 | 2528 | $tag = '<div id="article">'; |
2529 | 2529 | $text = str_replace( |
2530 | 2530 | $tag, |
2531 | | - $tag . $msg, |
| 2531 | + $tag . $text, |
2532 | 2532 | $cache->fetchPageText() ); |
2533 | 2533 | } |
2534 | 2534 | } |