@@ -42,7 +42,7 @@ discard block |
||
42 | 42 | |
43 | 43 | $id = GETPOST('id', 'int') ?: GETPOST('idBBC_vols', 'int'); |
44 | 44 | $action = GETPOST('action', 'alpha'); |
45 | -$permissiondellink=$user->rights->flightlog->vol->financial; |
|
45 | +$permissiondellink = $user->rights->flightlog->vol->financial; |
|
46 | 46 | |
47 | 47 | $object = new Bbcvols($db); |
48 | 48 | $extrafields = new ExtraFields($db); |
@@ -61,8 +61,8 @@ discard block |
||
61 | 61 | $extralabels = $extrafields->fetch_name_optionals_label($object->table_element); |
62 | 62 | |
63 | 63 | // Load object |
64 | -include DOL_DOCUMENT_ROOT . '/core/actions_fetchobject.inc.php'; // Must be include, not include_once // Must be include, not include_once. Include fetch and fetch_thirdparty but not fetch_optionals |
|
65 | -include DOL_DOCUMENT_ROOT.'/core/actions_dellink.inc.php'; |
|
64 | +include DOL_DOCUMENT_ROOT . '/core/actions_fetchobject.inc.php'; // Must be include, not include_once // Must be include, not include_once. Include fetch and fetch_thirdparty but not fetch_optionals |
|
65 | +include DOL_DOCUMENT_ROOT . '/core/actions_dellink.inc.php'; |
|
66 | 66 | |
67 | 67 | // Initialize technical object to manage hooks of modules. Note that conf->hooks_modules contains array array |
68 | 68 | $hookmanager->initHooks(array('bbcvols')); |
@@ -97,7 +97,7 @@ discard block |
||
97 | 97 | print '<div class="tabsAction">' . "\n"; |
98 | 98 | print '</div>' . "\n"; |
99 | 99 | |
100 | -if($user->rights->flightlog->vol->financial){ |
|
100 | +if ($user->rights->flightlog->vol->financial) { |
|
101 | 101 | print '<div class="fichecenter"><div class="fichehalfleft">'; |
102 | 102 | $form->showLinkedObjectBlock($object); |
103 | 103 | print '</div></div>'; |