Fix: Permission to read donation doc
This commit is contained in:
parent
2f6f53b8e3
commit
a0bb4b19ea
@ -17,10 +17,10 @@
|
||||
*/
|
||||
|
||||
/**
|
||||
\file htdocs/admin/dons.php
|
||||
\ingroup dons
|
||||
\brief Page d'administration/configuration du module Dons
|
||||
\version $Id$
|
||||
* \file htdocs/admin/dons.php
|
||||
* \ingroup dons
|
||||
* \brief Page d'administration/configuration du module Dons
|
||||
* \version $Id$
|
||||
*/
|
||||
require("./pre.inc.php");
|
||||
require_once(DOL_DOCUMENT_ROOT."/lib/admin.lib.php");
|
||||
@ -57,7 +57,7 @@ if ($_GET["action"] == 'specimen')
|
||||
|
||||
if ($obj->write_file($don,$langs) > 0)
|
||||
{
|
||||
header("Location: ".DOL_URL_ROOT."/document.php?modulepart=don&file=SPECIMEN.html");
|
||||
header("Location: ".DOL_URL_ROOT."/document.php?modulepart=donation&file=SPECIMEN.html");
|
||||
return;
|
||||
}
|
||||
else
|
||||
|
||||
Loading…
Reference in New Issue
Block a user