Skip to content
This repository has been archived by the owner on Mar 31, 2018. It is now read-only.

Commit

Permalink
Merge pull request #200 from synapsestudios/bugfix/200-patch-rowexists
Browse files Browse the repository at this point in the history
Patch 1.4.x to fix RowExists for older projects
  • Loading branch information
paulstatezny committed Apr 15, 2015
2 parents b07965e + 0d33a24 commit 20c4e62
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Synapse/Validator/Constraints/RowExists.php
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ public function __construct(AbstractMapper $mapper, $options = null)
}

if (isset($options['field']) && (! isset($options['message']))) {
$this->message = $self::FIELD_MESSAGE;
$this->message = static::FIELD_MESSAGE;
}

if (! method_exists($mapper, 'findBy')) {
Expand Down

0 comments on commit 20c4e62

Please sign in to comment.