summaryrefslogtreecommitdiffstats
path: root/frontends/php/include/classes
diff options
context:
space:
mode:
Diffstat (limited to 'frontends/php/include/classes')
-rw-r--r--frontends/php/include/classes/ctag.inc.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/frontends/php/include/classes/ctag.inc.php b/frontends/php/include/classes/ctag.inc.php
index 82caa5b8..bdeb3099 100644
--- a/frontends/php/include/classes/ctag.inc.php
+++ b/frontends/php/include/classes/ctag.inc.php
@@ -194,7 +194,9 @@
{
if(is_null($item)) return;
elseif(is_object($item))$item->Show();
- else echo strval($item);
+ elseif(is_array($item)) {
+ foreach($item as $i) $this->ShowTagItem($i); // Attention, recursion !!!
+ } else echo strval($item);
}
function ShowTagBody()
{