A......... [ZBX-8118] Fix "imageid" check by wrapping check_db_fields() in foreach and simplify code in validateUpdate().