Completed
Branch develop (936be1)
by
unknown
15:34
created
htdocs/core/login/functions_dolibarr.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -160,7 +160,7 @@  discard block
 block discarded – undo
160 160
 					}
161 161
 				} else {
162 162
 					dol_syslog("functions_dolibarr::check_user_password_dolibarr Authentication KO user not found for '".$usertotest."'", LOG_NOTICE);
163
-					sleep(1);	// Anti brut force protection. Must be same delay when password is not valid
163
+					sleep(1); // Anti brut force protection. Must be same delay when password is not valid
164 164
 
165 165
 					// Load translation files required by the page
166 166
 					$langs->loadLangs(array('main', 'errors'));
@@ -174,7 +174,7 @@  discard block
 block discarded – undo
174 174
 			}
175 175
 		} else {
176 176
 			dol_syslog("functions_dolibarr::check_user_password_dolibarr Authentication KO Too many attempts", LOG_NOTICE);
177
-			sleep(1);	// Anti brut force protection. Must be same delay when password is not valid
177
+			sleep(1); // Anti brut force protection. Must be same delay when password is not valid
178 178
 			// Load translation files required by the page
179 179
 			$langs->loadLangs(array('main', 'errors'));
180 180
 			$_SESSION["dol_loginmesg"] = $langs->transnoentitiesnoconv("ErrorTooManyAttempts");
Please login to merge, or discard this patch.
htdocs/core/login/functions_googleoauth.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -75,12 +75,12 @@
 block discarded – undo
75 75
 			//global $dolibarr_main_url_root;
76 76
 			//$urlwithouturlroot = preg_replace('/'.preg_quote(DOL_URL_ROOT, '/').'$/i', '', trim($dolibarr_main_url_root));
77 77
 			//$urlwithroot = $urlwithouturlroot.DOL_URL_ROOT; // This is to use external domain name found into config file
78
-			$urlwithroot=DOL_MAIN_URL_ROOT;					// This is to use same domain name than current
78
+			$urlwithroot = DOL_MAIN_URL_ROOT; // This is to use same domain name than current
79 79
 
80 80
 			//$shortscope = 'userinfo_email,userinfo_profile';
81
-			$shortscope = 'openid,email,profile';	// For openid connect
81
+			$shortscope = 'openid,email,profile'; // For openid connect
82 82
 
83
-			$oauthstateanticsrf = bin2hex(random_bytes(128/8));
83
+			$oauthstateanticsrf = bin2hex(random_bytes(128 / 8));
84 84
 			$_SESSION['oauthstateanticsrf'] = $shortscope.'-'.$oauthstateanticsrf;
85 85
 
86 86
 			$url = $urlwithroot.'/core/modules/oauth/google_oauthcallback.php?shortscope='.urlencode($shortscope).'&state='.urlencode('forlogin-'.$shortscope.'-'.$oauthstateanticsrf).'&username='.urlencode($usertotest);
Please login to merge, or discard this patch.
htdocs/asset/document.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -117,7 +117,7 @@  discard block
 block discarded – undo
117 117
 
118 118
 	// Object card
119 119
 	// ------------------------------------------------------------
120
-	$linkback = '<a href="' . dol_buildpath('/asset/asset_list.php', 1) . '?restore_lastsearch_values=1' . (!empty($socid) ? '&socid=' . $socid : '') . '">' . $langs->trans("BackToList") . '</a>';
120
+	$linkback = '<a href="'.dol_buildpath('/asset/asset_list.php', 1).'?restore_lastsearch_values=1'.(!empty($socid) ? '&socid='.$socid : '').'">'.$langs->trans("BackToList").'</a>';
121 121
 
122 122
 	$morehtmlref = '<div class="refidno">';
123 123
 	$morehtmlref .= '</div>';
@@ -130,10 +130,10 @@  discard block
 block discarded – undo
130 130
 	print '<table class="border centpercent tableforfield">';
131 131
 
132 132
 	// Number of files
133
-	print '<tr><td class="titlefield">' . $langs->trans("NbOfAttachedFiles") . '</td><td colspan="3">' . count($filearray) . '</td></tr>';
133
+	print '<tr><td class="titlefield">'.$langs->trans("NbOfAttachedFiles").'</td><td colspan="3">'.count($filearray).'</td></tr>';
134 134
 
135 135
 	// Total size
136
-	print '<tr><td>' . $langs->trans("TotalSizeOfAttachedFiles") . '</td><td colspan="3">' . $totalsize . ' ' . $langs->trans("bytes") . '</td></tr>';
136
+	print '<tr><td>'.$langs->trans("TotalSizeOfAttachedFiles").'</td><td colspan="3">'.$totalsize.' '.$langs->trans("bytes").'</td></tr>';
137 137
 
138 138
 	print '</table>';
139 139
 
@@ -146,12 +146,12 @@  discard block
 block discarded – undo
146 146
 	//  $permissiontoadd = 1;
147 147
 	$permtoedit = $user->hasRight('asset', 'write');
148 148
 	//  $permtoedit = 1;
149
-	$param = '&id=' . $object->id;
149
+	$param = '&id='.$object->id;
150 150
 
151 151
 	//$relativepathwithnofile='asset/' . dol_sanitizeFileName($object->id).'/';
152
-	$relativepathwithnofile = dol_sanitizeFileName($object->ref) . '/';
152
+	$relativepathwithnofile = dol_sanitizeFileName($object->ref).'/';
153 153
 
154
-	include DOL_DOCUMENT_ROOT . '/core/tpl/document_actions_post_headers.tpl.php';
154
+	include DOL_DOCUMENT_ROOT.'/core/tpl/document_actions_post_headers.tpl.php';
155 155
 } else {
156 156
 	accessforbidden('', 0, 1);
157 157
 }
Please login to merge, or discard this patch.
htdocs/asset/accountancy_codes.php 1 patch
Spacing   +17 added lines, -17 removed lines patch added patch discarded remove patch
@@ -24,9 +24,9 @@  discard block
 block discarded – undo
24 24
 
25 25
 // Load Dolibarr environment
26 26
 require '../main.inc.php';
27
-require_once DOL_DOCUMENT_ROOT . '/core/lib/asset.lib.php';
28
-require_once DOL_DOCUMENT_ROOT . '/asset/class/asset.class.php';
29
-require_once DOL_DOCUMENT_ROOT . '/asset/class/assetaccountancycodes.class.php';
27
+require_once DOL_DOCUMENT_ROOT.'/core/lib/asset.lib.php';
28
+require_once DOL_DOCUMENT_ROOT.'/asset/class/asset.class.php';
29
+require_once DOL_DOCUMENT_ROOT.'/asset/class/assetaccountancycodes.class.php';
30 30
 
31 31
 // Load translation files required by the page
32 32
 $langs->loadLangs(array("assets", "companies"));
@@ -42,15 +42,15 @@  discard block
 block discarded – undo
42 42
 $object = new Asset($db);
43 43
 $assetaccountancycodes = new AssetAccountancyCodes($db);
44 44
 $extrafields = new ExtraFields($db);
45
-$diroutputmassaction = $conf->asset->dir_output . '/temp/massgeneration/' . $user->id;
45
+$diroutputmassaction = $conf->asset->dir_output.'/temp/massgeneration/'.$user->id;
46 46
 $hookmanager->initHooks(array('assetaccountancycodes', 'globalcard')); // Note that conf->hooks_modules contains array
47 47
 // Fetch optionals attributes and labels
48 48
 $extrafields->fetch_name_optionals_label($object->table_element);
49 49
 
50 50
 // Load object
51
-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
51
+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
52 52
 if ($id > 0 || !empty($ref)) {
53
-	$upload_dir = $conf->asset->multidir_output[$object->entity] . "/" . $object->id;
53
+	$upload_dir = $conf->asset->multidir_output[$object->entity]."/".$object->id;
54 54
 }
55 55
 
56 56
 $permissiontoadd = $user->hasRight('asset', 'write'); // Used by the include of actions_addupdatedelete.inc.php
@@ -109,7 +109,7 @@  discard block
 block discarded – undo
109 109
 			$action = 'edit';
110 110
 		} else {
111 111
 			setEventMessage($langs->trans('RecordSaved'));
112
-			header("Location: " . $_SERVER["PHP_SELF"] . '?id=' . $object->id);
112
+			header("Location: ".$_SERVER["PHP_SELF"].'?id='.$object->id);
113 113
 			exit;
114 114
 		}
115 115
 	}
@@ -131,7 +131,7 @@  discard block
 block discarded – undo
131 131
 
132 132
 	// Object card
133 133
 	// ------------------------------------------------------------
134
-	$linkback = '<a href="' . DOL_URL_ROOT . '/asset/list.php?restore_lastsearch_values=1' . (!empty($socid) ? '&socid=' . $socid : '') . '">' . $langs->trans("BackToList") . '</a>';
134
+	$linkback = '<a href="'.DOL_URL_ROOT.'/asset/list.php?restore_lastsearch_values=1'.(!empty($socid) ? '&socid='.$socid : '').'">'.$langs->trans("BackToList").'</a>';
135 135
 
136 136
 	$morehtmlref = '<div class="refidno">';
137 137
 	$morehtmlref .= '</div>';
@@ -143,19 +143,19 @@  discard block
 block discarded – undo
143 143
 	print '</div>';
144 144
 
145 145
 	if ($action == 'edit') {
146
-		print '<form method="POST" action="' . $_SERVER["PHP_SELF"] . '?id=' . $object->id . '">';
147
-		print '<input type="hidden" name="token" value="' . newToken() . '">';
146
+		print '<form method="POST" action="'.$_SERVER["PHP_SELF"].'?id='.$object->id.'">';
147
+		print '<input type="hidden" name="token" value="'.newToken().'">';
148 148
 		print '<input type="hidden" name="action" value="update">';
149 149
 		if ($backtopage) {
150
-			print '<input type="hidden" name="backtopage" value="' . $backtopage . '">';
150
+			print '<input type="hidden" name="backtopage" value="'.$backtopage.'">';
151 151
 		}
152 152
 		if ($backtopageforcancel) {
153
-			print '<input type="hidden" name="backtopageforcancel" value="' . $backtopageforcancel . '">';
153
+			print '<input type="hidden" name="backtopageforcancel" value="'.$backtopageforcancel.'">';
154 154
 		}
155 155
 
156 156
 		print dol_get_fiche_head(array(), '');
157 157
 
158
-		include DOL_DOCUMENT_ROOT . '/asset/tpl/accountancy_codes_edit.tpl.php';
158
+		include DOL_DOCUMENT_ROOT.'/asset/tpl/accountancy_codes_edit.tpl.php';
159 159
 
160 160
 		print dol_get_fiche_end();
161 161
 
@@ -163,13 +163,13 @@  discard block
 block discarded – undo
163 163
 
164 164
 		print '</form>';
165 165
 	} else {
166
-		include DOL_DOCUMENT_ROOT . '/asset/tpl/accountancy_codes_view.tpl.php';
166
+		include DOL_DOCUMENT_ROOT.'/asset/tpl/accountancy_codes_view.tpl.php';
167 167
 	}
168 168
 
169 169
 	print dol_get_fiche_end();
170 170
 
171 171
 	if ($action != 'edit') {
172
-		print '<div class="tabsAction">' . "\n";
172
+		print '<div class="tabsAction">'."\n";
173 173
 		$parameters = array();
174 174
 		$reshook = $hookmanager->executeHooks('addMoreActionsButtons', $parameters, $object, $action); // Note that $action and $object may have been modified by hook
175 175
 		if ($reshook < 0) {
@@ -178,10 +178,10 @@  discard block
 block discarded – undo
178 178
 
179 179
 		if (empty($reshook)) {
180 180
 			if ($object->status == $object::STATUS_DRAFT/* && !empty($object->enabled_modes)*/) {
181
-				print dolGetButtonAction($langs->trans('Modify'), '', 'default', $_SERVER["PHP_SELF"] . '?id=' . $object->id . '&action=edit&token=' . newToken(), '', $permissiontoadd);
181
+				print dolGetButtonAction($langs->trans('Modify'), '', 'default', $_SERVER["PHP_SELF"].'?id='.$object->id.'&action=edit&token='.newToken(), '', $permissiontoadd);
182 182
 			}
183 183
 		}
184
-		print '</div>' . "\n";
184
+		print '</div>'."\n";
185 185
 	}
186 186
 }
187 187
 
Please login to merge, or discard this patch.
htdocs/asset/depreciation_options.php 1 patch
Spacing   +15 added lines, -15 removed lines patch added patch discarded remove patch
@@ -24,9 +24,9 @@  discard block
 block discarded – undo
24 24
 
25 25
 // Load Dolibarr environment
26 26
 require '../main.inc.php';
27
-require_once DOL_DOCUMENT_ROOT . '/core/lib/asset.lib.php';
28
-require_once DOL_DOCUMENT_ROOT . '/asset/class/asset.class.php';
29
-require_once DOL_DOCUMENT_ROOT . '/asset/class/assetdepreciationoptions.class.php';
27
+require_once DOL_DOCUMENT_ROOT.'/core/lib/asset.lib.php';
28
+require_once DOL_DOCUMENT_ROOT.'/asset/class/asset.class.php';
29
+require_once DOL_DOCUMENT_ROOT.'/asset/class/assetdepreciationoptions.class.php';
30 30
 
31 31
 // Load translation files required by the page
32 32
 $langs->loadLangs(array("assets", "companies"));
@@ -48,9 +48,9 @@  discard block
 block discarded – undo
48 48
 $extrafields->fetch_name_optionals_label($object->table_element);
49 49
 
50 50
 // Load object
51
-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
51
+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
52 52
 if ($id > 0 || !empty($ref)) {
53
-	$upload_dir = $conf->asset->multidir_output[$object->entity] . "/" . $object->id;
53
+	$upload_dir = $conf->asset->multidir_output[$object->entity]."/".$object->id;
54 54
 }
55 55
 
56 56
 $permissiontoadd = $user->hasRight('asset', 'write'); // Used by the include of actions_addupdatedelete.inc.php
@@ -111,7 +111,7 @@  discard block
 block discarded – undo
111 111
 			$action = 'edit';
112 112
 		} else {
113 113
 			setEventMessage($langs->trans('RecordSaved'));
114
-			header("Location: " . $_SERVER["PHP_SELF"] . '?id=' . $object->id);
114
+			header("Location: ".$_SERVER["PHP_SELF"].'?id='.$object->id);
115 115
 			exit;
116 116
 		}
117 117
 	}
@@ -145,19 +145,19 @@  discard block
 block discarded – undo
145 145
 	print '</div>';
146 146
 
147 147
 	if ($action == 'edit') {
148
-		print '<form method="POST" action="' . $_SERVER["PHP_SELF"] . '?id=' . $object->id . '">';
149
-		print '<input type="hidden" name="token" value="' . newToken() . '">';
148
+		print '<form method="POST" action="'.$_SERVER["PHP_SELF"].'?id='.$object->id.'">';
149
+		print '<input type="hidden" name="token" value="'.newToken().'">';
150 150
 		print '<input type="hidden" name="action" value="update">';
151 151
 		if ($backtopage) {
152
-			print '<input type="hidden" name="backtopage" value="' . $backtopage . '">';
152
+			print '<input type="hidden" name="backtopage" value="'.$backtopage.'">';
153 153
 		}
154 154
 		if ($backtopageforcancel) {
155
-			print '<input type="hidden" name="backtopageforcancel" value="' . $backtopageforcancel . '">';
155
+			print '<input type="hidden" name="backtopageforcancel" value="'.$backtopageforcancel.'">';
156 156
 		}
157 157
 
158 158
 		print dol_get_fiche_head(array(), '');
159 159
 
160
-		include DOL_DOCUMENT_ROOT . '/asset/tpl/depreciation_options_edit.tpl.php';
160
+		include DOL_DOCUMENT_ROOT.'/asset/tpl/depreciation_options_edit.tpl.php';
161 161
 
162 162
 		print dol_get_fiche_end();
163 163
 
@@ -165,13 +165,13 @@  discard block
 block discarded – undo
165 165
 
166 166
 		print '</form>';
167 167
 	} else {
168
-		include DOL_DOCUMENT_ROOT . '/asset/tpl/depreciation_options_view.tpl.php';
168
+		include DOL_DOCUMENT_ROOT.'/asset/tpl/depreciation_options_view.tpl.php';
169 169
 	}
170 170
 
171 171
 	print dol_get_fiche_end();
172 172
 
173 173
 	if ($action != 'edit') {
174
-		print '<div class="tabsAction">' . "\n";
174
+		print '<div class="tabsAction">'."\n";
175 175
 		$parameters = array();
176 176
 		$reshook = $hookmanager->executeHooks('addMoreActionsButtons', $parameters, $object, $action); // Note that $action and $object may have been modified by hook
177 177
 		if ($reshook < 0) {
@@ -180,10 +180,10 @@  discard block
 block discarded – undo
180 180
 
181 181
 		if (empty($reshook)) {
182 182
 			if ($object->status == $object::STATUS_DRAFT/* && !empty($object->enabled_modes)*/) {
183
-				print dolGetButtonAction($langs->trans('Modify'), '', 'default', $_SERVER["PHP_SELF"] . '?id=' . $object->id . '&action=edit&token=' . newToken(), '', $permissiontoadd);
183
+				print dolGetButtonAction($langs->trans('Modify'), '', 'default', $_SERVER["PHP_SELF"].'?id='.$object->id.'&action=edit&token='.newToken(), '', $permissiontoadd);
184 184
 			}
185 185
 		}
186
-		print '</div>' . "\n";
186
+		print '</div>'."\n";
187 187
 	}
188 188
 }
189 189
 
Please login to merge, or discard this patch.
htdocs/asset/agenda.php 1 patch
Spacing   +10 added lines, -10 removed lines patch added patch discarded remove patch
@@ -139,7 +139,7 @@  discard block
 block discarded – undo
139 139
 
140 140
 	// Object card
141 141
 	// ------------------------------------------------------------
142
-	$linkback = '<a href="' . DOL_URL_ROOT . '/asset/list.php?restore_lastsearch_values=1' . (!empty($socid) ? '&socid=' . $socid : '') . '">' . $langs->trans("BackToList") . '</a>';
142
+	$linkback = '<a href="'.DOL_URL_ROOT.'/asset/list.php?restore_lastsearch_values=1'.(!empty($socid) ? '&socid='.$socid : '').'">'.$langs->trans("BackToList").'</a>';
143 143
 
144 144
 	$morehtmlref = '<div class="refidno">';
145 145
 	$morehtmlref .= '</div>';
@@ -163,16 +163,16 @@  discard block
 block discarded – undo
163 163
 	$objthirdparty = $object;
164 164
 	$objcon = new stdClass();
165 165
 
166
-	$out = '&origin=' . urlencode($object->element . '@' . $object->module) . '&originid=' . urlencode($object->id);
167
-	$urlbacktopage = $_SERVER['PHP_SELF'] . '?id=' . $object->id;
168
-	$out .= '&backtopage=' . urlencode($urlbacktopage);
166
+	$out = '&origin='.urlencode($object->element.'@'.$object->module).'&originid='.urlencode($object->id);
167
+	$urlbacktopage = $_SERVER['PHP_SELF'].'?id='.$object->id;
168
+	$out .= '&backtopage='.urlencode($urlbacktopage);
169 169
 	$permok = $user->hasRight('agenda', 'myactions', 'create');
170 170
 	if ((!empty($objthirdparty->id) || !empty($objcon->id)) && $permok) {
171 171
 		//$out.='<a href="'.DOL_URL_ROOT.'/comm/action/card.php?action=create';
172 172
 		if (get_class($objthirdparty) == 'Societe') {
173
-			$out .= '&socid=' . urlencode($objthirdparty->id);
173
+			$out .= '&socid='.urlencode($objthirdparty->id);
174 174
 		}
175
-		$out .= (!empty($objcon->id) ? '&contactid=' . urlencode($objcon->id) : '');
175
+		$out .= (!empty($objcon->id) ? '&contactid='.urlencode($objcon->id) : '');
176 176
 		//$out.=$langs->trans("AddAnAction").' ';
177 177
 		//$out.=img_picto($langs->trans("AddAnAction"),'filenew');
178 178
 		//$out.="</a>";
@@ -183,18 +183,18 @@  discard block
 block discarded – undo
183 183
 
184 184
 	if (isModEnabled('agenda')) {
185 185
 		if ($user->hasRight('agenda', 'myactions', 'create') || $user->hasRight('agenda', 'allactions', 'create')) {
186
-			print '<a class="butAction" href="' . DOL_URL_ROOT . '/comm/action/card.php?action=create' . $out . '">' . $langs->trans("AddAction") . '</a>';
186
+			print '<a class="butAction" href="'.DOL_URL_ROOT.'/comm/action/card.php?action=create'.$out.'">'.$langs->trans("AddAction").'</a>';
187 187
 		} else {
188
-			print '<a class="butActionRefused classfortooltip" href="#">' . $langs->trans("AddAction") . '</a>';
188
+			print '<a class="butActionRefused classfortooltip" href="#">'.$langs->trans("AddAction").'</a>';
189 189
 		}
190 190
 	}
191 191
 
192 192
 	print '</div>';
193 193
 
194 194
 	if (isModEnabled('agenda') && ($user->hasRight('agenda', 'myactions', 'read') || $user->hasRight('agenda', 'allactions', 'read'))) {
195
-		$param = '&id=' . $object->id . '&socid=' . $socid;
195
+		$param = '&id='.$object->id.'&socid='.$socid;
196 196
 		if (!empty($contextpage) && $contextpage != $_SERVER["PHP_SELF"]) {
197
-			$param .= '&contextpage=' . urlencode($contextpage);
197
+			$param .= '&contextpage='.urlencode($contextpage);
198 198
 		}
199 199
 		if ($limit > 0 && $limit != $conf->liste_limit) {
200 200
 			$param .= '&limit='.((int) $limit);
Please login to merge, or discard this patch.
htdocs/resource/contact.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -44,7 +44,7 @@
 block discarded – undo
44 44
 $object = new Dolresource($db);
45 45
 
46 46
 // Load object
47
-include DOL_DOCUMENT_ROOT.'/core/actions_fetchobject.inc.php';     // Must be include, not include_once
47
+include DOL_DOCUMENT_ROOT.'/core/actions_fetchobject.inc.php'; // Must be include, not include_once
48 48
 
49 49
 // Security check
50 50
 if ($user->socid) {
Please login to merge, or discard this patch.
htdocs/resource/element_resource.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -537,8 +537,8 @@
 block discarded – undo
537 537
 			// Ref customer
538 538
 			//$morehtmlref.=$form->editfieldkey("RefCustomer", 'ref_client', $fichinter->ref_client, $fichinter, $user->rights->ficheinter->creer, 'string', '', 0, 1);
539 539
 			//$morehtmlref.=$form->editfieldval("RefCustomer", 'ref_client', $fichinter->ref_client, $fichinter, $user->rights->ficheinter->creer, 'string', '', null, null, '', 1);
540
-			$morehtmlref.=$form->editfieldkey("RefCustomer", 'ref_client', $fichinter->ref_client, $fichinter, 0, 'string', '', 0, 1);
541
-			$morehtmlref.=$form->editfieldval("RefCustomer", 'ref_client', $fichinter->ref_client, $fichinter, 0, 'string', '', null, null, '', 1);
540
+			$morehtmlref .= $form->editfieldkey("RefCustomer", 'ref_client', $fichinter->ref_client, $fichinter, 0, 'string', '', 0, 1);
541
+			$morehtmlref .= $form->editfieldval("RefCustomer", 'ref_client', $fichinter->ref_client, $fichinter, 0, 'string', '', null, null, '', 1);
542 542
 			// Thirdparty
543 543
 			$morehtmlref .= '<br>'.$fichinter->thirdparty->getNomUrl(1, 'customer');
544 544
 			// Project
Please login to merge, or discard this patch.
htdocs/ecm/index_medias.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -100,7 +100,7 @@  discard block
 block discarded – undo
100 100
 
101 101
 $websitekey = '';
102 102
 
103
-$permissiontoadd = $permissiontouploadfile;	// Used by the include of actions_addupdatedelete.inc.php and actions_linkedfiles
103
+$permissiontoadd = $permissiontouploadfile; // Used by the include of actions_addupdatedelete.inc.php and actions_linkedfiles
104 104
 
105 105
 // Initialize technical object to manage hooks of page. Note that conf->hooks_modules contains array of hook context
106 106
 $hookmanager->initHooks(array('ecmmediascard', 'globalcard'));
@@ -117,7 +117,7 @@  discard block
 block discarded – undo
117 117
 if ($sortorder) {
118 118
 	$backtopage .= '&sortorder='.urlencode($sortorder);
119 119
 }
120
-include DOL_DOCUMENT_ROOT.'/core/actions_linkedfiles.inc.php';	// This manage 'sendit', 'confirm_deletefile', 'renamefile' action when submitting new file.
120
+include DOL_DOCUMENT_ROOT.'/core/actions_linkedfiles.inc.php'; // This manage 'sendit', 'confirm_deletefile', 'renamefile' action when submitting new file.
121 121
 
122 122
 $backtopage = $savbacktopage;
123 123
 
Please login to merge, or discard this patch.