Resolves Parse error: syntax error, unexpected T_ELSEIF