Commit 6f30ed7a authored by Austin White's avatar Austin White

fixed issue #1206

parent 921e232d
......@@ -89,7 +89,7 @@ class Validator {
$this->rules = $rules;
$this->messages = $messages;
$this->attributes = $attributes;
$this->attributes = (is_object($attributes)) ? get_object_vars($attributes) : $attributes;
}
/**
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment