mirror of
https://github.com/openvk/openvk
synced 2024-12-22 16:42:32 +03:00
Update AdminPresenter.php
This commit is contained in:
parent
1f6d5cc5e3
commit
6ed8d439be
1 changed files with 1 additions and 1 deletions
|
@ -580,7 +580,7 @@ final class AdminPresenter extends OpenVKPresenter
|
||||||
$this->template->obj_id = $obj_id;
|
$this->template->obj_id = $obj_id;
|
||||||
}
|
}
|
||||||
if ($this->queryParam("obj_type") !== NULL && $this->queryParam("obj_type") !== "any") {
|
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;
|
$filter["object_model"] = $obj_type;
|
||||||
$this->template->obj_type = $obj_type;
|
$this->template->obj_type = $obj_type;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue