Changing elseif statement to what the PEAR coding guidelines say.