Index: trunk/extensions/Translate/TranslatePage.php |
— | — | @@ -252,7 +252,7 @@ |
253 | 253 | $selector = new HTMLSelector( 'task', 'task', $this->options['task'] ); |
254 | 254 | |
255 | 255 | // Check if this is a page translation group to return only appropriate tasks. |
256 | | - $isPageTranslation = strpos( $this->group->getId(), 'page|' ) === 0 ? true : false; |
| 256 | + $isPageTranslation = strpos( $this->group->getId(), 'page|' ) === 0; |
257 | 257 | |
258 | 258 | foreach ( TranslateTasks::getTasks( $isPageTranslation ) as $id ) { |
259 | 259 | $label = call_user_func( array( 'TranslateTask', 'labelForTask' ), $id ); |