Index: trunk/extensions/SemanticResultFormats/iCalendar/SRF_iCalendar.php |
— | — | @@ -22,7 +22,7 @@ |
23 | 23 | protected function handleParameters( array $params, $outputmode ) { |
24 | 24 | parent::handleParameters( $params, $outputmode ); |
25 | 25 | |
26 | | - $this->m_params = trim( $params['title'] ); |
| 26 | + $this->m_title = trim( $params['title'] ); |
27 | 27 | $this->m_description = trim( $params['icalendardescription'] ); |
28 | 28 | } |
29 | 29 | |
— | — | @@ -122,8 +122,8 @@ |
123 | 123 | $link->setParameter( $this->m_description, 'description' ); |
124 | 124 | } |
125 | 125 | |
126 | | - if ( array_key_exists( 'limit', $this->m_params ) ) { |
127 | | - $link->setParameter( $this->m_params['limit'], 'limit' ); |
| 126 | + if ( array_key_exists( 'limit', $this->params ) ) { |
| 127 | + $link->setParameter( $this->params['limit'], 'limit' ); |
128 | 128 | } else { // use a reasonable default limit |
129 | 129 | $link->setParameter( 20, 'limit' ); |
130 | 130 | } |