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 '
| '.$langs->trans("Email").' * | |
| '.$langs->trans("Company"); -if(!empty(floatval($project->price_registration))){ - print '*'; +if (!empty(floatval($project->price_registration))) { + print '*'; } print ' |