Index: trunk/phase3/includes/parser/Parser.php |
— | — | @@ -194,7 +194,9 @@ |
195 | 195 | $this->firstCallInit(); |
196 | 196 | } |
197 | 197 | $this->mOutput = new ParserOutput; |
198 | | - $this->mOptions->registerWatcher( array( $this->mOutput, 'recordOption' ) ); |
| 198 | + if( $this->mOptions ) { |
| 199 | + $this->mOptions->registerWatcher( array( $this->mOutput, 'recordOption' ) ); |
| 200 | + } |
199 | 201 | $this->mAutonumber = 0; |
200 | 202 | $this->mLastSection = ''; |
201 | 203 | $this->mDTopen = false; |