Index: trunk/extensions/EducationProgram/EducationProgram.hooks.php |
— | — | @@ -209,7 +209,7 @@ |
210 | 210 | $special = SpecialPageFactory::getLocalNameFor( $special ); |
211 | 211 | } |
212 | 212 | |
213 | | - $identifier = $canonicalSet['view'] === 'Course' ? 'id' : 'name'; |
| 213 | + $identifier = 'name'; |
214 | 214 | $exists = $classes[$canonicalSet['view']]::has( array( $identifier => $textParts[1] ) ); |
215 | 215 | |
216 | 216 | $viewLinks['view'] = array( |