remove false parameter

This commit is contained in:
nupplaPhil 2020-01-28 22:01:42 +01:00
parent 5ccf41a56f
commit d23008c2f5
No known key found for this signature in database
GPG key ID: D8365C3D36B77D90

View file

@ -122,7 +122,7 @@ abstract class BaseRepository extends BaseFactory
*/
public function update(BaseModel $model)
{
if ($this->dba->update(static::$table_name, $model->toArray(true), ['id' => $model->id], $model->getOriginalData())) {
if ($this->dba->update(static::$table_name, $model->toArray(), ['id' => $model->id], $model->getOriginalData())) {
$model->resetOriginalData();
return true;
}