mirror of
https://github.com/openvk/openvk
synced 2024-12-22 16:42:32 +03:00
Search: Fix PHP 8.2 compatibility (resolves #1000)
This commit is contained in:
parent
15a5f172d9
commit
1f8f5cf6fa
1 changed files with 2 additions and 1 deletions
|
@ -139,6 +139,8 @@
|
|||
}
|
||||
</style>
|
||||
<div style="margin-top:-7px">
|
||||
{var $data = is_array($iterator) ? $iterator : iterator_to_array($iterator)}
|
||||
|
||||
{include "../components/paginator.xml", conf => (object) [
|
||||
"page" => $page,
|
||||
"count" => $count,
|
||||
|
@ -153,7 +155,6 @@
|
|||
<div>
|
||||
{include searchOptions}
|
||||
|
||||
{var $data = is_array($iterator) ? $iterator : iterator_to_array($iterator)}
|
||||
<div class="container_gray borderup" style="float:left;width:73.3%;">
|
||||
{if sizeof($data) > 0}
|
||||
{if $type == "users" || $type == "groups" || $type == "apps"}
|
||||
|
|
Loading…
Reference in a new issue