BUG 7859 Fix Bug when a change is made to plugins state.
BUG 7859 Fix Bug when a change is made to plugins state.

hitsumabushi/processmaker,hitsumabushi/processmaker,baozhoutao/processmaker,hitsumabushi/processmaker,tomolimo/processmaker-server,hitsumabushi/processmaker,colosa/processmaker,baozhoutao/processmaker,baozhoutao/processmaker,colosa/processmaker,baozhoutao/processmaker,baozhoutao/processmaker,colosa/processmaker,hitsumabushi/processmaker,colosa/processmaker,baozhoutao/processmaker,colosa/processmaker,colosa/processmaker,tomolimo/processmaker-server,hitsumabushi/processmaker,tomolimo/processmaker-server,tomolimo/processmaker-server,tomolimo/processmaker-server,tomolimo/processmaker-server