Fixed validation rules.

This commit is contained in:
James Cole
2017-09-12 21:44:31 +02:00
parent 4f934e54cf
commit 262f8a33c6
30 changed files with 64 additions and 50 deletions

View File

@@ -61,7 +61,7 @@ class BillFormRequest extends Request
$nameRule .= ',' . intval($this->get('id'));
$matchRule .= ',' . intval($this->get('id'));
}
// is OK
$rules = [
'name' => $nameRule,
'match' => $matchRule,