Skip to content
Permalink
Browse files

Fix minor error

  • Loading branch information...
satelines committed Apr 5, 2019
1 parent 750a2dd commit 12c7a947cb905430f4bbf208b5972492b91e302a
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/midcom/datamanager/validation/imageValidator.php
@@ -15,7 +15,7 @@ public function validate($value, Constraint $constraint)
if ( empty($value)
|| !empty($value['delete'])
|| ( empty($value['file'])
&& ( empty($constraint->config['do_not_save_archival'] && empty($value['archival']))
&& ( empty($constraint->config['do_not_save_archival']) && empty($value['archival'])
xor empty($value['main'])))) {
$this->context->buildViolation('This value should not be blank.')
->addViolation();

0 comments on commit 12c7a94

Please sign in to comment.
You can’t perform that action at this time.