From 57a0519eef67b628cf45ffb7d6c607cd1d6c2d30 Mon Sep 17 00:00:00 2001 From: jengo Date: Fri, 6 Apr 2001 05:30:37 +0000 Subject: [PATCH] SF #413778 - Fixed HTML in comments not showing up durring matrix view --- phpgwapi/inc/class.matrixview.inc.php | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/phpgwapi/inc/class.matrixview.inc.php b/phpgwapi/inc/class.matrixview.inc.php index 4cd9cf3de6..ef6735d626 100644 --- a/phpgwapi/inc/class.matrixview.inc.php +++ b/phpgwapi/inc/class.matrixview.inc.php @@ -137,7 +137,8 @@ class matrixview { $i++; } - $this->items_content[$this->items_count][0] = "$item;$color"; + $this->items_content[$this->items_count][0] = $item; + $this->items_color[$this->items_count] = $color; // increase number of items in two-dimensional array $this->items_count++; } @@ -218,8 +219,8 @@ function out () for($z=0;$z<$this->items_count;$z++) { // seperate color and name from first array element - $itemname = strtok($this->items_content[$z][0],";"); - $itemcolor = strtok(";"); + $itemname = $this->items_content[$z][0]; + $itemcolor = $this->items_color[$z]; echo "\n"; echo "" . $itemname . "\n";