diff --git a/htdocs/core/class/notify.class.php b/htdocs/core/class/notify.class.php index f9f1c3b99ef..7cd38233eb3 100644 --- a/htdocs/core/class/notify.class.php +++ b/htdocs/core/class/notify.class.php @@ -129,7 +129,7 @@ class Notify if (is_array($listofnotiftodo)) { $i = 0; - foreach ($listofnotiftodo as $key => $val) { + foreach ($listofnotiftodo as $val) { if ($i) { $texte .= ', '; } else {