the if condition has no curly brackets, the else has.
i think woltlab prefers curly brackets everywhere, even on one-line-codes, except on one-line-codes, where the action is in the same line as the condition, like: if ($this) return $that;