From fd9618c3c8a25ecf06162bdcc604fef12b244af6 Mon Sep 17 00:00:00 2001 From: MDW Date: Mon, 18 Mar 2024 22:53:46 +0100 Subject: [PATCH] Fix arg to explode by forcing type of --- htdocs/core/customreports.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/htdocs/core/customreports.php b/htdocs/core/customreports.php index d6e4f788500..49b9dbc56ad 100644 --- a/htdocs/core/customreports.php +++ b/htdocs/core/customreports.php @@ -1,5 +1,6 @@ + * Copyright (C) 2024 MDW * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -187,6 +188,8 @@ if ($objecttype) { } } +'@phan-var-force CommonObject $object'; + // Security check $socid = 0; if ($user->socid > 0) { // Protection if external user