Fix name in taskjob (php and sql error). closes #1939