Index: branches/CentralNotice-SpecialPage-Integration/SpecialNoticeText.php |
— | — | @@ -194,7 +194,7 @@ |
195 | 195 | function chooseTemplate ( $notice ) { |
196 | 196 | $dbr = wfGetDB( DB_SLAVE ); |
197 | 197 | $centralnotice_table = 'central_notice_template_assignments'; |
198 | | - $res = $dbr->select( $array ( $centralnotice_table,"central_notice_template_assignments"), |
| 198 | + $res = $dbr->select( array ( $centralnotice_table,"central_notice_template_assignments"), |
199 | 199 | "name,weight", |
200 | 200 | array ( 'notice_name' => $notice, 'campaign_id = id'), |
201 | 201 | '', |