From 41b5e82d48f670096c05758203e2b1f7bb5db343 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20FRANCE?= Date: Sun, 1 Dec 2019 16:42:18 +0100 Subject: [PATCH] The variable $error seems to be never defined --- htdocs/core/class/notify.class.php | 1 + 1 file changed, 1 insertion(+) diff --git a/htdocs/core/class/notify.class.php b/htdocs/core/class/notify.class.php index 8c86631fc17..535d5bef3cd 100644 --- a/htdocs/core/class/notify.class.php +++ b/htdocs/core/class/notify.class.php @@ -341,6 +341,7 @@ class Notify $object_type = ''; $link = ''; $num = 0; + $error = 0; $oldref=(empty($object->oldref)?$object->ref:$object->oldref); $newref=(empty($object->newref)?$object->ref:$object->newref);