From 1cda921f5a367213aa77aa627c6e152e7df60766 Mon Sep 17 00:00:00 2001 From: Leon Weber Date: Wed, 14 Feb 2007 16:07:18 +0000 Subject: [PATCH] * (bug 8988) Added missing $ in error messages. --- includes/DatabasePostgres.php | 2 +- includes/SpecialUndelete.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/includes/DatabasePostgres.php b/includes/DatabasePostgres.php index 44b0a5897b..e479a6a8db 100644 --- a/includes/DatabasePostgres.php +++ b/includes/DatabasePostgres.php @@ -291,7 +291,7 @@ class DatabasePostgres extends Database { $res = $this->doQuery($SQL); if (!$res) { print "FAILED. "; - print "Please make sure that the locale in pg_ts_cfg for \"default\" is set to \"ctype\"\n"; + print "Please make sure that the locale in pg_ts_cfg for \"default\" is set to \"$ctype\"\n"; dieout(""); } print "OK"; diff --git a/includes/SpecialUndelete.php b/includes/SpecialUndelete.php index 7673ee3774..ab7d32f635 100644 --- a/includes/SpecialUndelete.php +++ b/includes/SpecialUndelete.php @@ -751,7 +751,7 @@ class UndeleteForm { } $wgOut->addHTML( "

" . htmlspecialchars( wfMsg( "history" ) ) . "

\n" ); - + if( $haveRevisions ) { # The page's stored (deleted) history: $wgOut->addHTML("