aboutsummaryrefslogtreecommitdiffstats
path: root/includes/SpecialRandompage.php
diff options
context:
space:
mode:
Diffstat (limited to 'includes/SpecialRandompage.php')
-rw-r--r--includes/SpecialRandompage.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/SpecialRandompage.php b/includes/SpecialRandompage.php
index 59836c9fedfe..82d580cb6a6b 100644
--- a/includes/SpecialRandompage.php
+++ b/includes/SpecialRandompage.php
@@ -51,7 +51,7 @@ function wfSpecialRandompage( $par = NS_MAIN ) {
}
if( is_null( $title ) ) {
# That's not supposed to happen :)
- $title =& Title::newFromText( wfMsg( 'mainpage' ) );
+ $title = Title::newFromText( wfMsg( 'mainpage' ) );
}
$wgOut->reportTime(); # for logfile
$wgOut->redirect( $title->getFullUrl() );