From: Brion Vibber Date: Mon, 17 Nov 2003 00:43:18 +0000 (+0000) Subject: Fix bug 795011; restrictions not loaded on redirects X-Git-Tag: 1.1.0~149 X-Git-Url: http://git.cyclocoop.org/%24image?a=commitdiff_plain;h=575f3b8e5e2903d428a34b8c66058b6d24c32dc5;p=lhc%2Fweb%2Fwiklou.git Fix bug 795011; restrictions not loaded on redirects --- diff --git a/includes/Article.php b/includes/Article.php index 1563585de8..703b3ed95d 100644 --- a/includes/Article.php +++ b/includes/Article.php @@ -150,7 +150,7 @@ class Article { $rid = $rt->getArticleID(); if ( 0 != $rid ) { $sql = "SELECT cur_text,cur_timestamp,cur_user," . - "cur_counter,cur_touched FROM cur WHERE cur_id={$rid}"; + "cur_counter,cur_restrictions,cur_touched FROM cur WHERE cur_id={$rid}"; $res = wfQuery( $sql, DB_READ, $fname ); if ( 0 != wfNumRows( $res ) ) {