From fa97a8fcac5638fcd3ccb8a3e868b92764d96ab3 Mon Sep 17 00:00:00 2001 From: songchenxuan Date: Tue, 8 Mar 2022 15:06:10 +0800 Subject: [PATCH] *Product history. --- api/v1/entries/product.php | 1 + 1 file changed, 1 insertion(+) diff --git a/api/v1/entries/product.php b/api/v1/entries/product.php index cedc89b2a2..1f30423a74 100644 --- a/api/v1/entries/product.php +++ b/api/v1/entries/product.php @@ -54,6 +54,7 @@ class productEntry extends Entry case 'actions': $product->addComment = common::hasPriv('action', 'comment') ? true : false; + $users = $this->loadModel('user')->getPairs(); $actions = $data->data->actions; $product->actions = $this->loadModel('action')->processActionForAPI($actions, $users, $this->lang->product); break;