#617596 follow-up by sun: optimize if statement.
#617596 follow-up by sun: optimize if statement.

OccupyWallStreet/streetnet,rmcveigh/frontend-dev,joshkoenig/golden-god-demo,OccupyWallStreet/streetnet,brainhell/drupalglass,joshkoenig/golden-god-demo,edutrul/social-web,joshkoenig/golden-god-demo,lincgr/Prueba,lincgr/Prueba,joshkoenig/golden-god-demo,joshkoenig/golden-god-demo,joshkoenig/golden-god-demo,brainhell/drupalglass,brainhell/drupalglass,joshkoenig/golden-god-demo,edutrul/social-web,OccupyWallStreet/streetnet,edutrul/social-web,brainhell/drupalglass,lincgr/Prueba,rmcveigh/frontend-dev,lincgr/Prueba,edutrul/social-web,OccupyWallStreet/streetnet,brainhell/drupalglass,rmcveigh/frontend-dev,edutrul/social-web