Index: trunk/extensions/SemanticResultFormats/Calendar/SRF_Calendar.php |
— | — | @@ -22,7 +22,7 @@ |
23 | 23 | $this->mTemplate = trim( $params['template'] ); |
24 | 24 | $this->mUserParam = trim( $params['userparam'] ); |
25 | 25 | |
26 | | - if ( $params['userparam'] !== false ) { |
| 26 | + if ( $params['lang'] !== false ) { |
27 | 27 | global $wgLang; |
28 | 28 | // store the actual user's language, so we can revert |
29 | 29 | // back to it after printing the calendar |