Fixing style errors.

This commit is contained in:
stickler-ci 2021-04-14 14:04:33 +00:00
parent 3d5e439d92
commit 6f0f527a89

View File

@ -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 '<table class="border" summary="form to subscribe" id="tablesubscribe">'."
print '<tr><td>'.$langs->trans("Email").' <FONT COLOR="red">*</FONT></td><td><input type="text" name="email" maxlength="255" class="minwidth150" value="'.dol_escape_htmltag(GETPOST('email')).'"></td></tr>'."\n";
// Company
print '<tr id="trcompany" class="trcompany"><td>'.$langs->trans("Company");
if(!empty(floatval($project->price_registration))){
print '<FONT COLOR="red">*</FONT>';
if (!empty(floatval($project->price_registration))) {
print '<FONT COLOR="red">*</FONT>';
}
print ' </td><td><input type="text" name="societe" class="minwidth150" value="'.dol_escape_htmltag(GETPOST('societe')).'"></td></tr>'."\n";
// Address