From 6f0f527a890458f2c50664e71b5b5885c3fda4c5 Mon Sep 17 00:00:00 2001 From: stickler-ci Date: Wed, 14 Apr 2021 14:04:33 +0000 Subject: [PATCH] Fixing style errors. --- .../eventorganization/attendee_subscription.php | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/htdocs/public/eventorganization/attendee_subscription.php b/htdocs/public/eventorganization/attendee_subscription.php index 3084de3f416..d3f9e6f06bd 100644 --- a/htdocs/public/eventorganization/attendee_subscription.php +++ b/htdocs/public/eventorganization/attendee_subscription.php @@ -85,14 +85,14 @@ $id = dol_decode($encodedid, $dolibarr_main_instance_unique_id); $conference = new ConferenceOrBooth($db); $resultconf = $conference->fetch($id); if ($resultconf < 0) { - setEventMessages(null, $object->errors, "errors"); + setEventMessages(null, $object->errors, "errors"); } $project = new Project($db); $resultproject = $project->fetch($conference->fk_project); -if ($resultproject < 0){ - $error++; - $errmsg .= $project->error; +if ($resultproject < 0) { + $error++; + $errmsg .= $project->error; } // Getting 'securekey'.'id' from Post and decoding it @@ -366,8 +366,8 @@ print ''." print ''."\n"; // Company print ''."\n"; // Address
'.$langs->trans("Email").' *
'.$langs->trans("Company"); -if(!empty(floatval($project->price_registration))){ - print '*'; +if (!empty(floatval($project->price_registration))) { + print '*'; } print '