]> git.mxchange.org Git - friendica.git/commitdiff
remove false parameter
authornupplaPhil <admin@philipp.info>
Tue, 28 Jan 2020 21:01:42 +0000 (22:01 +0100)
committernupplaPhil <admin@philipp.info>
Tue, 28 Jan 2020 21:01:42 +0000 (22:01 +0100)
src/BaseRepository.php

index c14d6f7bc1283bbca258a8652ad28f7bcd36e5f0..cce1c50c17bc77f1cdc905a30297b8686f0c7b28 100644 (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;
                }