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; }