Merge branch '9.0' of git@github.com:Dolibarr/dolibarr.git into 10.0

Conflicts:
	htdocs/langs/en_US/main.lang
This commit is contained in:
Laurent Destailleur 2019-10-22 15:25:31 +02:00
commit 6079a4d159
4 changed files with 4 additions and 2 deletions

View File

@ -72,6 +72,7 @@ function printBookmarksList($aDb, $aLangs)
$ret.= '<!-- form with POST method by default, will be replaced with GET for external link by js -->'."\n";
$ret.= '<form id="actionbookmark" name="actionbookmark" method="POST" action="">';
$ret.= '<input type="hidden" name="token" value="'.$_SESSION['newtoken'].'">';
$ret.= '<select name="bookmark" id="boxbookmark" class="flat boxcombo vmenusearchselectcombo" alt="Bookmarks">';
$ret.= '<option hidden value="listbookmarks" class="optiongrey" selected rel="'.DOL_URL_ROOT.'/bookmarks/list.php">'.$langs->trans('Bookmarks').'</option>';
$ret.= '<option value="listbookmark" class="optionblue" rel="'.dol_escape_htmltag(DOL_URL_ROOT.'/bookmarks/list.php').'" ';

View File

@ -473,6 +473,7 @@ Category=Tag/category
By=By
From=From
to=to
To=to
and=and
or=or
Other=Other

View File

@ -475,6 +475,7 @@ Category=Tag/catégorie
By=Par
From=Du
to=au
To=à
and=et
or=ou
Other=Autre

View File

@ -140,7 +140,6 @@ if ($action == 'order' && isset($_POST['valid']))
if ($qty)
{
//might need some value checks
$obj = $db->fetch_object($resql);
$line = new CommandeFournisseurLigne($db);
$line->qty = $qty;
$line->fk_product = $idprod;
@ -179,7 +178,7 @@ if ($action == 'order' && isset($_POST['valid']))
$error=$db->lasterror();
dol_print_error($db);
}
$db->free($resql);
unset($_POST['fourn' . $i]);
}
unset($_POST[$i]);