fix #46 issue
Merge pull request #47 from TasolJamal/issue_com_ijoomeradv

fix #46 without select any extension admin click on publish or unpublish it displayed 500 error