From 9ca544e4e15690f83c693d6b5aa9f81d18bfbc61 Mon Sep 17 00:00:00 2001 From: Thomas Gelf Date: Thu, 30 Jul 2015 11:32:05 +0200 Subject: [PATCH] activitylog: render arrays, required for groups --- application/views/scripts/show/activitylog-create.phtml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/application/views/scripts/show/activitylog-create.phtml b/application/views/scripts/show/activitylog-create.phtml index 67efbc6a..5f92930d 100644 --- a/application/views/scripts/show/activitylog-create.phtml +++ b/application/views/scripts/show/activitylog-create.phtml @@ -15,6 +15,8 @@ foreach ($new as $key => $value) { if ($value === null) continue; + if (is_array($value)) $value = implode(', ', $value); + echo ' ' . $this->escape($key) . ''; echo $this->escape($value); echo "\n";