Fixed ticket 46, PHP 5.2.0 compatibility.

dev
Loic d'Anterroches 2008-12-01 14:48:09 +01:00
parent 7d0ecd8f8a
commit 67361d7df6
1 changed files with 2 additions and 1 deletions

View File

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