From 6ed8d439be6df3169b67159bdc703f627403cf2a Mon Sep 17 00:00:00 2001 From: n1rwana Date: Fri, 11 Aug 2023 16:06:25 +0300 Subject: [PATCH] Update AdminPresenter.php --- Web/Presenters/AdminPresenter.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Web/Presenters/AdminPresenter.php b/Web/Presenters/AdminPresenter.php index 5c5b647f..0cfcdc24 100644 --- a/Web/Presenters/AdminPresenter.php +++ b/Web/Presenters/AdminPresenter.php @@ -580,7 +580,7 @@ final class AdminPresenter extends OpenVKPresenter $this->template->obj_id = $obj_id; } if ($this->queryParam("obj_type") !== NULL && $this->queryParam("obj_type") !== "any") { - $obj_type = CHANDLER_ROOT_CONF["preferences"]["logs"]["entitiesNamespace"] . $this->queryParam("obj_type"); + $obj_type = "openvk\\Web\\Models\\Entities\\" . $this->queryParam("obj_type"); $filter["object_model"] = $obj_type; $this->template->obj_type = $obj_type; }