From: Maxious Date: Sat, 01 Dec 2012 11:46:22 +0000 Subject: fix rss links X-Git-Url: https://maxious.lambdacomplex.org/git/?p=disclosr.git&a=commitdiff&h=a913aa90f3344ae178fa7cde594552824a41c778 --- fix rss links Former-commit-id: 67b9bf6afb0ababcdf08a783179348405e944e1b --- --- a/documents/rss.xml.php +++ b/documents/rss.xml.php @@ -28,7 +28,7 @@ $newItem = $TestFeed->createNewItem(); //Add elements to the feed item $newItem->setTitle($row->value->title); - $newItem->setLink("view.php?id=".$row->value->docID); + $newItem->setLink("view.php?id=".$row->value->_id); $newItem->setDate(date("c", strtotime($row->value->date))); $newItem->setDescription(displayLogEntry($row,$idtoname)); $newItem->addElement('guid', $row->value->_id,array('isPermaLink'=>'true'));