adjust comment.

This commit is contained in:
Taylor Otwell 2012-01-29 13:55:33 -06:00
parent af5e4c6be6
commit 3488a5449e
1 changed files with 1 additions and 1 deletions

View File

@ -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];