Fix: Donation receipt was not correctly encoded
This commit is contained in:
parent
6e54360aac
commit
8c281d8709
@ -33,6 +33,7 @@
|
|||||||
define('NOTOKENRENEWAL',1); // Disables token renewal
|
define('NOTOKENRENEWAL',1); // Disables token renewal
|
||||||
|
|
||||||
// Do not use urldecode here ($_GET and $_REQUEST are already decoded by PHP).
|
// Do not use urldecode here ($_GET and $_REQUEST are already decoded by PHP).
|
||||||
|
$encoding = 'UTF-8';
|
||||||
$action = isset($_GET["action"])?$_GET["action"]:'';
|
$action = isset($_GET["action"])?$_GET["action"]:'';
|
||||||
$original_file = isset($_GET["file"])?$_GET["file"]:'';
|
$original_file = isset($_GET["file"])?$_GET["file"]:'';
|
||||||
$modulepart = isset($_GET["modulepart"])?$_GET["modulepart"]:'';
|
$modulepart = isset($_GET["modulepart"])?$_GET["modulepart"]:'';
|
||||||
@ -52,6 +53,11 @@ if (! defined('NOREQUIREAJAX')) define('NOREQUIREAJAX','1');
|
|||||||
// C'est un wrapper, donc header vierge
|
// C'est un wrapper, donc header vierge
|
||||||
function llxHeader() { }
|
function llxHeader() { }
|
||||||
|
|
||||||
|
|
||||||
|
/*
|
||||||
|
* View
|
||||||
|
*/
|
||||||
|
|
||||||
require("./main.inc.php"); // Load $user and permissions
|
require("./main.inc.php"); // Load $user and permissions
|
||||||
require_once(DOL_DOCUMENT_ROOT.'/lib/files.lib.php');
|
require_once(DOL_DOCUMENT_ROOT.'/lib/files.lib.php');
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user