Merge branch 'bugfix/fix-php7-issue' into 'master'

Bugfix/fix php7 issue

See merge request fronk/thetool!508
This commit is contained in:
Luca Haid
2024-07-24 15:11:44 +00:00

View File

@@ -102,7 +102,7 @@ class WarehouseArticleController extends TTCrud {
// save cheapestSellPrices column on article
$article->cheapestSellPrice = json_encode($cheapestSellPrices);
WarehouseArticleModel::update([...get_object_vars($article)]);
WarehouseArticleModel::update(get_object_vars($article));
}
protected function afterCreate() {