Changed backlinks (in the "target") report to point back to the edit page for the source report rather than the view page #1

Merged
merged 1 commit into from Apr 19, 2012
@@ -79,7 +79,7 @@ function removeLinkToReport(id)
$incident = ORM::factory("incident")
->where("id", $link->from_incident_id)
->find();
- echo '<li><a href="'.url::base().'reports/view/'.$incident->id.'">'.$incident->incident_title.'<a/></li>';
+ echo '<li><a href="'.url::base().'admin/reports/edit/'.$incident->id.'">'.$incident->incident_title.'<a/></li>';
}
?>
</ul>