added isset() checks to prevent PHP warning messages
Merge branch 'master' of github.com:lupo49/plugin-task