Make sure $this->section is initialized (and other stuff is checked)
when rvdiffto is used.
Bug: 64744
Change-Id: Ie6c50ad946ed5150819d004dabfe898a131a0a07
$this->addWhereFld( 'ct_tag', $params['tag'] );
}
- if ( isset( $prop['content'] ) || !is_null( $this->difftotext ) ) {
+ if ( isset( $prop['content'] ) || !is_null( $this->diffto ) || !is_null( $this->difftotext ) ) {
// For each page we will request, the user must have read rights for that page
$user = $this->getUser();
/** @var $title Title */