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;
}