From edec5fb6f1f0d1cabffda244a22d2f34755dd718 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Wed, 10 Apr 2024 16:45:16 +0200 Subject: [PATCH] Doc --- htdocs/categories/class/categorie.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/categories/class/categorie.class.php b/htdocs/categories/class/categorie.class.php index fdddce669a9..cd7f75b282b 100644 --- a/htdocs/categories/class/categorie.class.php +++ b/htdocs/categories/class/categorie.class.php @@ -926,7 +926,7 @@ class Categorie extends CommonObject $obj = new $classnameforobj($this->db); $obj->fetch($rec['fk_object']); - if ($obj->id > 0) { + if ($obj->id > 0) { // Failing fetch may happen for example when a category supplier was set and third party was moved as customer only. The object supplier can't be loaded. $objs[] = $obj; } }