Skip to content

Commit

Permalink
Fixed undefined ImageValidator:: property when uploading an image dur…
Browse files Browse the repository at this point in the history
…ing functional tests
  • Loading branch information
OwlyCode authored and fabpot committed Jun 12, 2014
1 parent e74d37b commit 859f34e
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -160,7 +160,7 @@ public function validate($value, Constraint $constraint)
$this->context->addViolation($constraint->maxSizeMessage, array(
'{{ size }}' => $sizeAsString,
'{{ limit }}' => $limitAsString,
'{{ suffix }}' => static::$suffices[$coef],
'{{ suffix }}' => self::$suffices[$coef],
'{{ file }}' => $path,
));

Expand Down

0 comments on commit 859f34e

Please sign in to comment.