mirror of
https://github.com/openvk/openvk
synced 2024-12-22 16:42:32 +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>
|
||||
<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()}
|
||||
{var $str = "relationship_$i"}
|
||||
{if tr($str . "_fem") == ("@$str" . "_fem")}
|
||||
|
|
Loading…
Reference in a new issue