Fixed ticket 40 View Projects: implode functions seems not support ArrayObject
Forced the arrayObject as array with casting.
This commit is contained in:
parent
8ae2ae2b06
commit
cecae05bda
@ -254,8 +254,8 @@ class IDF_Project extends Pluf_Model
|
|||||||
if ($fmt == 'objects') {
|
if ($fmt == 'objects') {
|
||||||
return new Pluf_Template_ContextVars(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", (array) $members),
|
||||||
'owners' => implode("\n", $owners));
|
'owners' => implode("\n", (array) $owners));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user