Fix: Missing JUMP_TAG
This commit is contained in:
parent
86fb0aa1b7
commit
51c1cfed8a
@ -437,7 +437,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;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -454,7 +454,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