From 59b0d6ca1b133965b14ab8be18d46d539d4c08b7 Mon Sep 17 00:00:00 2001 From: Bahfir Abbes Date: Thu, 29 Feb 2024 20:15:23 +0100 Subject: [PATCH] Fix:False constant name (#28532) Fix:False constant name --- htdocs/mrp/class/mo.class.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/htdocs/mrp/class/mo.class.php b/htdocs/mrp/class/mo.class.php index 3aec46aa856..061f8461495 100644 --- a/htdocs/mrp/class/mo.class.php +++ b/htdocs/mrp/class/mo.class.php @@ -1627,8 +1627,8 @@ class Mo extends CommonObject if ($this->model_pdf) { $modele = $this->model_pdf; - } elseif (getDolGlobalString('MO_ADDON_PDF')) { - $modele = getDolGlobalString('MO_ADDON_PDF'); + } elseif (getDolGlobalString('MRP_MO_ADDON_PDF')) { + $modele = getDolGlobalString('MRP_MO_ADDON_PDF'); } }