From 38041b25fb2ee938ed0e4b13a95b42bb0ea7efed Mon Sep 17 00:00:00 2001 From: Eric Espie Date: Wed, 31 Jul 2024 14:42:08 +0200 Subject: [PATCH] =?UTF-8?q?N=C2=B07722=20-=20Fatal=20error=20if=20xml=20en?= =?UTF-8?q?try=20"redefine"=20doesn't=20exist?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- setup/modelfactory.class.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup/modelfactory.class.inc.php b/setup/modelfactory.class.inc.php index 069502062..21b49ec58 100644 --- a/setup/modelfactory.class.inc.php +++ b/setup/modelfactory.class.inc.php @@ -86,7 +86,7 @@ class MFException extends Exception */ public function GetSourceLineNumber() { - return $this->iSourceLineNumber - $this->iSourceLineOffset; + return intval($this->iSourceLineNumber) - $this->iSourceLineOffset; } /**