Skip to content

Commit fee8563

Browse files
authored
Update Model.php
1 parent 7b1f1e1 commit fee8563

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

system/Model.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -494,7 +494,9 @@ public function first()
494494

495495
/**
496496
*
497-
* Allows key/value pairs to be set for insert(), update() or replace().
497+
* Captures the builder's set() method so that we can validate the
498+
* data here. This allows it to be used with any of the other
499+
* builder methods and still get validated data, like replace.
498500
*
499501
* @param mixed $key Field name, or an array of field/value pairs
500502
* @param string $value Field value, if $key is a single field

0 commit comments

Comments
 (0)