Bugfix/fix php7 issue
This commit is contained in:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user