mirror of
https://github.com/openvk/openvk
synced 2025-01-09 01:09:46 +03:00
Page Edit: Fix PHP 7.4 compatibility
This commit is contained in:
parent
f420d2381d
commit
d33a8f5c1d
1 changed files with 1 additions and 1 deletions
|
@ -94,7 +94,7 @@
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
<select name="marialstatus">
|
<select name="marialstatus">
|
||||||
<option n:foreach="range(0, 8) as $i" n:attr="selected: ($user->getMaritalStatus() == $i)" value="{$i}">
|
<option n:foreach="range(0, 8) as $i" n:attr="selected => ($user->getMaritalStatus() == $i)" value="{$i}">
|
||||||
{if $user->isFemale()}
|
{if $user->isFemale()}
|
||||||
{var $str = "relationship_$i"}
|
{var $str = "relationship_$i"}
|
||||||
{if tr($str . "_fem") == ("@$str" . "_fem")}
|
{if tr($str . "_fem") == ("@$str" . "_fem")}
|
||||||
|
|
Loading…
Reference in a new issue