mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-12-07 10:08:27 +01:00
ok
This commit is contained in:
@@ -37,7 +37,10 @@ if ($_GET["id"] > 0)
|
||||
{
|
||||
require_once(DOL_DOCUMENT_ROOT.'/docs/document.class.php');
|
||||
$doc = new Document($db);
|
||||
$doc->Generate($_GET["id"]);
|
||||
if ($doc->Generate($_GET["id"]) == 0)
|
||||
{
|
||||
Header("Location: index.php");
|
||||
}
|
||||
}
|
||||
|
||||
llxHeader();
|
||||
|
||||
Reference in New Issue
Block a user