diff --git a/Controller/BackendController.php b/Controller/BackendController.php index 274bd48..6be445a 100755 --- a/Controller/BackendController.php +++ b/Controller/BackendController.php @@ -49,7 +49,7 @@ final class BackendController extends Controller $view->setTemplate('/Modules/Marketing/Theme/Backend/promotion-list'); $view->data['nav'] = $this->app->moduleManager->get('Navigation')->createNavigationMid(1001902001, $request, $response); - $promotions = PromotionMapper::getAll()->limit(25)->execute(); + $promotions = PromotionMapper::getAll()->limit(25)->execute(); $view->data['promotions'] = $promotions; return $view; @@ -89,7 +89,7 @@ final class BackendController extends Controller $mediaListView->setTemplate('/Modules/Media/Theme/Backend/Components/Media/list'); $view->data['medialist'] = $mediaListView; - $promotion = PromotionMapper::get()->where('id', (int) $request->getData('id'))->execute(); + $promotion = PromotionMapper::get()->where('id', (int) $request->getData('id'))->execute(); $view->data['promotion'] = $promotion; return $view; diff --git a/Models/PromotionAttributeValue.php b/Models/PromotionAttributeValue.php index d21531e..dc56906 100755 --- a/Models/PromotionAttributeValue.php +++ b/Models/PromotionAttributeValue.php @@ -108,7 +108,6 @@ class PromotionAttributeValue implements \JsonSerializable */ private ?BaseStringL11n $l11n = null; - /** * Set value *