Bugfix/fix php7 issue

This commit is contained in:
Luca Haid
2024-07-24 15:11:43 +00:00
parent f73aaffea9
commit ec187d56f8

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() {