Continued work to fix for PHP 5.2.0.

This commit is contained in:
Loic d'Anterroches 2008-09-05 15:35:27 +02:00
parent f4cbf84559
commit c7fc30bab0

View File

@ -252,7 +252,7 @@ class IDF_Project extends Pluf_Model
} }
} }
if ($fmt == 'objects') { if ($fmt == 'objects') {
return array('members' => $members, 'owners' => $owners); return new Pluf_Template_ContextVars(array('members' => $members, 'owners' => $owners));
} else { } else {
return array('members' => implode("\n", $members), return array('members' => implode("\n", $members),
'owners' => implode("\n", $owners)); 'owners' => implode("\n", $owners));