Skip to content

Commit

Permalink
fix GET parameter on redirect
Browse files Browse the repository at this point in the history
  • Loading branch information
cfoellmann committed Sep 6, 2021
1 parent 5b80166 commit c3f1ecb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion htdocs/fourn/commande/card.php
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@
}

if (empty($reshook)) {
$backurlforlist = DOL_URL_ROOT.'/fourn/commande/list.php'.($socid > 0 ? '&socid='.((int) $socid) : '');
$backurlforlist = DOL_URL_ROOT.'/fourn/commande/list.php'.($socid > 0 ? '?socid='.((int) $socid) : '');

if (empty($backtopage) || ($cancel && empty($id))) {
if (empty($backtopage) || ($cancel && strpos($backtopage, '__ID__'))) {
Expand Down

0 comments on commit c3f1ecb

Please sign in to comment.