Replace the switch with if/elseif/else to fix a problem with accounts -> extensions for php fpm on Ubuntu 14.04 LTS

git-svn-id: http://fusionpbx.googlecode.com/svn/trunk@6902 e2954ef0-caed-11de-bd98-e341d93cc3cc