Fix: Permission to read donation doc
This commit is contained in:
parent
2f6f53b8e3
commit
a0bb4b19ea
@ -17,10 +17,10 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
\file htdocs/admin/dons.php
|
* \file htdocs/admin/dons.php
|
||||||
\ingroup dons
|
* \ingroup dons
|
||||||
\brief Page d'administration/configuration du module Dons
|
* \brief Page d'administration/configuration du module Dons
|
||||||
\version $Id$
|
* \version $Id$
|
||||||
*/
|
*/
|
||||||
require("./pre.inc.php");
|
require("./pre.inc.php");
|
||||||
require_once(DOL_DOCUMENT_ROOT."/lib/admin.lib.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)
|
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;
|
return;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user