From 998b2b263ee83860f0c2d9889198f3790c19bcf7 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Wed, 19 Apr 2023 23:42:05 +0200 Subject: [PATCH] Fix public virtual card --- htdocs/public/users/view.php | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) diff --git a/htdocs/public/users/view.php b/htdocs/public/users/view.php index 53bc597aaa9..4da6d3baad9 100644 --- a/htdocs/public/users/view.php +++ b/htdocs/public/users/view.php @@ -269,12 +269,7 @@ if ($showbarcode) { } -// Me -// Show photo -if ($urllogo) { - print ''; -} - +// Me section $usersection = ''; @@ -325,6 +320,11 @@ if (!empty($object->socialnetworks) && is_array($object->socialnetworks) && coun } if ($usersection) { + // Show photo + if ($urllogo) { + print ''; + } + print ''."\n"; // Output payment summary form @@ -340,6 +340,11 @@ if ($usersection) { print ''."\n"; print '
'."\n"; +} else { + // Show photo + if ($urllogo) { + print '
'; + } }