adjust comment.
This commit is contained in:
parent
af5e4c6be6
commit
3488a5449e
|
@ -418,7 +418,7 @@ protected function validate_unique($attribute, $value, $parameters)
|
||||||
if (is_null($this->db)) $this->db = Database::connection();
|
if (is_null($this->db)) $this->db = Database::connection();
|
||||||
|
|
||||||
// We allow the table column to be specified just in case the column does
|
// We allow the table column to be specified just in case the column does
|
||||||
// not have the same name as the attribute. It must be in the second
|
// not have the same name as the attribute. It must be within the second
|
||||||
// parameter position, right after the databse table name.
|
// parameter position, right after the databse table name.
|
||||||
if (isset($parameters[1])) $attribute = $parameters[1];
|
if (isset($parameters[1])) $attribute = $parameters[1];
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue