diff options
| author | artem <artem@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2007-12-21 14:23:51 +0000 |
|---|---|---|
| committer | artem <artem@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2007-12-21 14:23:51 +0000 |
| commit | deec785a7f7371725395459b709986a33868f729 (patch) | |
| tree | 7e877d9de23ef0ba6c121b8b86271a71b1e54cec /frontends/php/include/classes/ctable.inc.php | |
| parent | 0b09f9baf43ed17364c46eeb3f562f64e84c159b (diff) | |
| download | zabbix-deec785a7f7371725395459b709986a33868f729.tar.gz zabbix-deec785a7f7371725395459b709986a33868f729.tar.xz zabbix-deec785a7f7371725395459b709986a33868f729.zip | |
- [ZBX-228,ZBX-208] fixed output parsing (Artem)
- [ZBX-185] fixes for PHP4 (Artem)
git-svn-id: svn://svn.zabbix.com/trunk@5201 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'frontends/php/include/classes/ctable.inc.php')
| -rw-r--r-- | frontends/php/include/classes/ctable.inc.php | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/frontends/php/include/classes/ctable.inc.php b/frontends/php/include/classes/ctable.inc.php index 5ccca19d..b7f1fb11 100644 --- a/frontends/php/include/classes/ctable.inc.php +++ b/frontends/php/include/classes/ctable.inc.php @@ -182,7 +182,11 @@ } function ShowRow($item,$rowClass=NULL){ - echo $this->PrepareRow($item,$rowClass)->ToString(); + // needed for PHP4 + $tempobj = $this->PrepareRow($item,$rowClass); + echo $tempobj->ToString(); + unset($tempobj); + //--------------- ++$this->rownum; } /* protected */ |
