diff --git a/src/Ardent/Ardent.php b/src/Ardent/Ardent.php index ba64236..cb21d23 100755 --- a/src/Ardent/Ardent.php +++ b/src/Ardent/Ardent.php @@ -838,7 +838,7 @@ public function buildUniqueExclusionRules(array $rules = array()) { $ruleset = (is_string($ruleset))? explode('|', $ruleset) : $ruleset; foreach ($ruleset as &$rule) { - if (strpos($rule, 'unique:') === 0) { + if (strpos($rule, 'unique') === 0) { // Stop splitting at 4 so final param will hold optional where clause $params = explode(',', $rule, 4);