* fix a bug : warning if no tasks.
 * code for task#1678.
Merge branch 'master' of github.com:easysoft/zentaopms