Browse Source

Fix warning

Laurent Destailleur 1 year ago
parent
commit
574fd8d6ad
1 changed files with 3 additions and 3 deletions
  1. 3 3
      htdocs/product/admin/dynamic_prices.php

+ 3 - 3
htdocs/product/admin/dynamic_prices.php

@@ -152,7 +152,7 @@ if (!empty($action) && empty($cancel)) {
 
 $form = new Form($db);
 
-llxHeader("", "", $langs->trans("CardProduct".$product->type));
+llxHeader("", "", $langs->trans("DynamicPrice"));
 
 $linkback = '<a href="'.DOL_URL_ROOT.'/admin/modules.php?restore_lastsearch_values=1">'.$langs->trans("BackToModuleList").'</a>';
 print load_fiche_titre($langs->trans("DynamicPriceConfiguration"), $linkback, 'title_setup');
@@ -272,9 +272,9 @@ if ($action != 'create_variable' && $action != 'edit_variable') {
 			print '</tr>';
 		}
 	} else {
-		print '<tr><td colspan="7" class="opacitymedium">';
+		print '<tr><td colspan="7"><span class="opacitymedium">';
 		print $langs->trans("None");
-		print '</td></tr>';
+		print '</span></td></tr>';
 	}
 	print '</table>';