Fixed ticket 46, PHP 5.2.0 compatibility.

This commit is contained in:
Loic d'Anterroches 2008-12-01 14:48:09 +01:00
parent 7d0ecd8f8a
commit 67361d7df6

View File

@ -167,7 +167,8 @@ class IDF_WikiRevision extends Pluf_Model
//$out .= '<strong>'.__('Summary:').'</strong>&nbsp;'.Pluf_esc($this->summary).' '; //$out .= '<strong>'.__('Summary:').'</strong>&nbsp;'.Pluf_esc($this->summary).' ';
if ($this->changedRevision()) { if ($this->changedRevision()) {
$out .= '<div class="issue-changes-timeline">'; $out .= '<div class="issue-changes-timeline">';
foreach ($this->changes as $w => $v) { $changes = $this->changes;
foreach ($changes as $w => $v) {
$out .= '<strong>'; $out .= '<strong>';
switch ($w) { switch ($w) {
case 'lb': case 'lb':