From 6f901fdf5ab4333e6206b4be7495aa645e260d66 Mon Sep 17 00:00:00 2001 From: Alma Armas Date: Mon, 17 Aug 2020 14:02:42 +0000 Subject: [PATCH] Fix undefined variable error --- Web/Presenters/templates/User/View.xml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Web/Presenters/templates/User/View.xml b/Web/Presenters/templates/User/View.xml index 096f7934..8266a7e6 100644 --- a/Web/Presenters/templates/User/View.xml +++ b/Web/Presenters/templates/User/View.xml @@ -30,7 +30,7 @@ class="name-checkmark" src="/assets/packages/static/openvk/img/checkmark.png" /> - ({_"this_is_you"}) + ({_"this_is_you"})
@@ -114,7 +114,7 @@ {/if} {/if}
-
+
{var completeness = $user->getProfileCompletenessReport()}
@@ -122,7 +122,7 @@ {$completeness->total}%
- {if !is_null($thisUser) && $user->getId() === $thisUser->getId() && sizeof($completeness->unfilled) > 0} + {if isset($thisUser) && $user->getId() === $thisUser->getId() && sizeof($completeness->unfilled) > 0}
Указать интересы @@ -325,7 +325,7 @@

{$user->getFullName()}

{if !is_null($user->getStatus())}
{$user->getStatus()}
- {elseif !is_null($thisUser) && $user->getId() == $thisUser->getId()} + {elseif isset($thisUser) && $user->getId() == $thisUser->getId()}