From: Reedy Date: Wed, 12 Dec 2012 20:23:47 +0000 (+0000) Subject: Only variables can be passed by reference... X-Git-Tag: 1.31.0-rc.0~21226^2 X-Git-Url: https://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/banques/ajouter.php?a=commitdiff_plain;h=c01e1c161348edc897dfb5219ceb849649ce8191;p=lhc%2Fweb%2Fwiklou.git Only variables can be passed by reference... Change-Id: Ifc0f9a25148e8728b3b57885ca241853f0c2a894 --- diff --git a/includes/Title.php b/includes/Title.php index bdaa66f864..a20367dcef 100644 --- a/includes/Title.php +++ b/includes/Title.php @@ -2361,7 +2361,8 @@ class Title { $expiry = array( 'create' => $expiry ); $page = WikiPage::factory( $this ); - $status = $page->doUpdateRestrictions( $limit, $expiry, false, $reason, $wgUser ); + $cascade = false; + $status = $page->doUpdateRestrictions( $limit, $expiry, $cascade, $reason, $wgUser ); return $status->isOK(); }