Indefero

Indefero Commit Details


Date:2008-09-12 09:23:43 (16 years 3 months ago)
Author:Loic d'Anterroches
Branch:dev, develop, feature-issue_links, feature.better-home, feature.content-md5, feature.diff-whitespace, feature.download-md5, feature.issue-links, feature.issue-of-others, feature.issue-summary, feature.search-filter, feature.webrepos, feature.wiki-default-page, master, release-1.1, release-1.2, release-1.3
Commit:cecae05bda899c16c84793f6806eb4ebf3764276
Parents: 8ae2ae2b0637666e94697ccae9315403dd812064
Message:Fixed ticket 40 View Projects: implode functions seems not support ArrayObject

Forced the arrayObject as array with casting.
Changes:

File differences

src/IDF/Project.php
254254
255255
256256
257
258
257
258
259259
260260
261261
if ($fmt == 'objects') {
return new Pluf_Template_ContextVars(array('members' => $members, 'owners' => $owners));
} else {
return array('members' => implode("\n", $members),
'owners' => implode("\n", $owners));
return array('members' => implode("\n", (array) $members),
'owners' => implode("\n", (array) $owners));
}
}

Archive Download the corresponding diff file

Page rendered in 0.07045s using 14 queries.