Index: trunk/extensions/Collection/Collection.body.php |
— | — | @@ -284,7 +284,7 @@ |
285 | 285 | |
286 | 286 | static function renameChapter( $index, $name ) { |
287 | 287 | $collection = $_SESSION['wsCollection']; |
288 | | - if ( $collection['items'][$index]['type'] != 'chapter ') { |
| 288 | + if ( $collection['items'][$index]['type'] != 'chapter' ) { |
289 | 289 | return; |
290 | 290 | } |
291 | 291 | $collection['items'][$index]['title'] = $name; |