Index: trunk/extensions/CentralNotice/SpecialCentralNotice.php |
— | — | @@ -1324,7 +1324,7 @@ |
1325 | 1325 | $oldLanguages = $this->getNoticeLanguages( $notice ); |
1326 | 1326 | |
1327 | 1327 | // Get the notice id |
1328 | | - $row = $this->getNoticeId( $notice ); |
| 1328 | + $row = $dbw->selectRow( 'cn_notices', 'not_id', array( 'not_name' => $notice ) ); |
1329 | 1329 | |
1330 | 1330 | // Add newly assigned languages |
1331 | 1331 | $addLanguages = array_diff( $newLanguages, $oldLanguages ); |