Fixed issue 315, atom feed of a wiki update is broken.
This commit is contained in:
parent
37aa3d8b69
commit
1d24432f8d
@ -193,11 +193,18 @@ class IDF_WikiRevision extends Pluf_Model
|
||||
public function feedFragment($request)
|
||||
{
|
||||
$page = $this->get_wikipage();
|
||||
if (!$this->is_head) {
|
||||
$url = Pluf::f('url_base')
|
||||
.Pluf_HTTP_URL_urlForView('IDF_Views_Wiki::view',
|
||||
array($request->project->shortname,
|
||||
$page->title),
|
||||
array('rev' => $this->id));
|
||||
} else {
|
||||
$url = Pluf::f('url_base')
|
||||
.Pluf_HTTP_URL_urlForView('IDF_Views_Wiki::view',
|
||||
array($request->project->shortname,
|
||||
$page->title));
|
||||
}
|
||||
$title = sprintf(__('%s: Documentation page %s updated - %s'),
|
||||
$request->project->name,
|
||||
$page->title, $page->summary);
|
||||
|
Loading…
Reference in New Issue
Block a user