Index: branches/RC/core/kernel/nparser/ntags.php =================================================================== diff -u -r8929 -r8953 --- branches/RC/core/kernel/nparser/ntags.php (.../ntags.php) (revision 8929) +++ branches/RC/core/kernel/nparser/ntags.php (.../ntags.php) (revision 8953) @@ -181,6 +181,7 @@ if (!isset($tag['NP']['check'])) { $this->Application->handleError(E_USER_ERROR, 'Tag '.$this->Parser->TagInfo($tag, true).' called without required check attribute', $tag['file'], $tag['line']); + return false; } $code[] = "\$_splited = \$_parser->SplitTag(array('tag'=>\"{$tag['NP']['check']}\", 'file'=>'{$tag['file']}', 'line'=>{$tag['line']}));"; @@ -203,6 +204,9 @@ $this->AppendCode($o, '} else {'); $tag['processed'] = true; } + if ($tag['name'] == 'elseif') { + $tag['processed'] = true; // !!! TEMPORARY !!! + } return $o; }