mirror of
https://github.com/openvk/openvk
synced 2024-12-23 00:51:03 +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>
|
</style>
|
||||||
<div style="margin-top:-7px">
|
<div style="margin-top:-7px">
|
||||||
|
{var $data = is_array($iterator) ? $iterator : iterator_to_array($iterator)}
|
||||||
|
|
||||||
{include "../components/paginator.xml", conf => (object) [
|
{include "../components/paginator.xml", conf => (object) [
|
||||||
"page" => $page,
|
"page" => $page,
|
||||||
"count" => $count,
|
"count" => $count,
|
||||||
|
@ -153,7 +155,6 @@
|
||||||
<div>
|
<div>
|
||||||
{include searchOptions}
|
{include searchOptions}
|
||||||
|
|
||||||
{var $data = is_array($iterator) ? $iterator : iterator_to_array($iterator)}
|
|
||||||
<div class="container_gray borderup" style="float:left;width:73.3%;">
|
<div class="container_gray borderup" style="float:left;width:73.3%;">
|
||||||
{if sizeof($data) > 0}
|
{if sizeof($data) > 0}
|
||||||
{if $type == "users" || $type == "groups" || $type == "apps"}
|
{if $type == "users" || $type == "groups" || $type == "apps"}
|
||||||
|
|
Loading…
Reference in a new issue