Skip to content

Commit

Permalink
Fix : Remove two langs->load("sendings") and use loadLangs instead
Browse files Browse the repository at this point in the history
  • Loading branch information
aspangaro committed Mar 11, 2018
1 parent 93f4d6f commit c0d4ca3
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions htdocs/commande/card.php
Expand Up @@ -56,15 +56,7 @@
require_once DOL_DOCUMENT_ROOT.'/variants/class/ProductCombination.class.php';
}

$langs->load('orders');
$langs->load('sendings');
$langs->load('companies');
$langs->load('bills');
$langs->load('propal');
$langs->load('deliveries');
$langs->load('sendings');
$langs->load('products');
$langs->load('other');
$langs->loadLangs(array('orders','sendings','companies','bills','propal','deliveries','products','other'));
if (!empty($conf->incoterm->enabled)) $langs->load('incoterm');
if (! empty($conf->margin->enabled)) $langs->load('margins');
if (! empty($conf->productbatch->enabled)) $langs->load("productbatch");
Expand Down

0 comments on commit c0d4ca3

Please sign in to comment.