Index: trunk/phase3/includes/api/ApiQueryRevisions.php |
— | — | @@ -149,7 +149,7 @@ |
150 | 150 | $this->addFields('ts_tags'); |
151 | 151 | } |
152 | 152 | |
153 | | - if( !is_null($params['tag']) ) { |
| 153 | + if( isset( $params['tag'] ) && !is_null( $params['tag'] ) ) { |
154 | 154 | $this->addTables('change_tag'); |
155 | 155 | $this->addJoinConds(array('change_tag' => array('INNER JOIN', array('rev_id=ct_rev_id')))); |
156 | 156 | $this->addWhereFld('ct_tag' , $params['tag']); |