code sample
This commit is contained in:
parent
8d963adb43
commit
712fafb776
@ -175,7 +175,7 @@ class ActionsMyModule
|
|||||||
*/
|
*/
|
||||||
function beforePDFCreation($parameters, &$object, &$action)
|
function beforePDFCreation($parameters, &$object, &$action)
|
||||||
{
|
{
|
||||||
global $langs,$conf;
|
global $conf, $user, $langs;
|
||||||
global $hookmanager;
|
global $hookmanager;
|
||||||
|
|
||||||
$outputlangs=$langs;
|
$outputlangs=$langs;
|
||||||
@ -204,7 +204,7 @@ class ActionsMyModule
|
|||||||
*/
|
*/
|
||||||
function afterPDFCreation($parameters, &$pdfhandler, &$action)
|
function afterPDFCreation($parameters, &$pdfhandler, &$action)
|
||||||
{
|
{
|
||||||
global $langs,$conf;
|
global $conf, $user, $langs;
|
||||||
global $hookmanager;
|
global $hookmanager;
|
||||||
|
|
||||||
$outputlangs=$langs;
|
$outputlangs=$langs;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user