From 72e50841609bb13afcb95c77e6536c9b20029141 Mon Sep 17 00:00:00 2001 From: Busfreak Date: Mon, 5 Sep 2016 18:39:08 +0200 Subject: Hook in ColorModel->getList --- app/Model/ColorModel.php | 2 ++ 1 file changed, 2 insertions(+) (limited to 'app/Model/ColorModel.php') diff --git a/app/Model/ColorModel.php b/app/Model/ColorModel.php index 9e69dda2..9fa7ff85 100644 --- a/app/Model/ColorModel.php +++ b/app/Model/ColorModel.php @@ -154,6 +154,8 @@ class ColorModel extends Base $listing[$color_id] = t($color['name']); } + $this->hook->reference('model:color:get-list', $listing); + return $listing; } -- cgit v1.2.3