Index: trunk/extensions/Translate/tag/SpecialPageTranslation.php |
— | — | @@ -693,7 +693,7 @@ |
694 | 694 | |
695 | 695 | protected function handlePriorityLanguages( WebRequest $request, TranslatablePage $page, User $user ) { |
696 | 696 | // new priority languages |
697 | | - $npLangs = trim( $request->getVal( 'prioritylangs' ) ); |
| 697 | + $npLangs = rtrim( trim( $request->getVal( 'prioritylangs' ) ), ',' ); |
698 | 698 | $npForce = $request->getCheck( 'forcelimit' ) ? 'on' : 'off'; |
699 | 699 | $npReason = trim( $request->getText( 'priorityreason' ) ); |
700 | 700 | |