Fix: Missing JUMP_TAG
This commit is contained in:
parent
ef5841dac0
commit
d8b0d279d8
@ -459,7 +459,7 @@ if ($_GET['action'] == 'up' && $user->rights->fournisseur->commande->creer)
|
|||||||
$outputlangs->setDefaultLang($_REQUEST['lang_id']);
|
$outputlangs->setDefaultLang($_REQUEST['lang_id']);
|
||||||
}
|
}
|
||||||
supplier_order_pdf_create($db, $commande, $commande->modelpdf, $outputlangs);
|
supplier_order_pdf_create($db, $commande, $commande->modelpdf, $outputlangs);
|
||||||
Header ('Location: '.$_SERVER["PHP_SELF"].'?id='.$id.'#'.$_GET['rowid']);
|
Header ('Location: '.$_SERVER["PHP_SELF"].'?id='.$id.(empty($conf->global->MAIN_JUMP_TAG)?'':'#'.$_GET['rowid']));
|
||||||
exit;
|
exit;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -476,7 +476,7 @@ if ($_GET['action'] == 'down' && $user->rights->fournisseur->commande->creer)
|
|||||||
$outputlangs->setDefaultLang($_REQUEST['lang_id']);
|
$outputlangs->setDefaultLang($_REQUEST['lang_id']);
|
||||||
}
|
}
|
||||||
supplier_order_pdf_create($db, $commande, $commande->modelpdf, $outputlangs);
|
supplier_order_pdf_create($db, $commande, $commande->modelpdf, $outputlangs);
|
||||||
Header ('Location: '.$_SERVER["PHP_SELF"].'?id='.$id.'#'.$_GET['rowid']);
|
Header ('Location: '.$_SERVER["PHP_SELF"].'?id='.$id.(empty($conf->global->MAIN_JUMP_TAG)?'':'#'.$_GET['rowid']));
|
||||||
exit;
|
exit;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user