Skip to content

Commit

Permalink
Merge branch 'develop' into release/8.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
aembler committed Jun 26, 2017
2 parents f938c33 + 3121755 commit 9ea3d2e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion concrete/attributes/image_file/controller.php
Expand Up @@ -166,8 +166,8 @@ public function createAttributeValue($obj)
public function validateValue()
{
$f = $this->getAttributeValue()->getValue();
$e = Core::make('helper/validation/error');
if (!is_object($f)) {
$e = Core::make('helper/validation/error');
$e->add(t('You must specify a valid file for %s', $this->attributeKey->getAttributeKeyDisplayName()));
}

Expand Down

0 comments on commit 9ea3d2e

Please sign in to comment.