MDL-27640 rating: altered the return url provided by mod_data to ratings

This commit is contained in:
Andrew Davis (andyjdavis) 2011-08-16 17:08:47 +08:00 committed by Aparup Banerjee
parent 9928cc8aa2
commit c04b01f46f

View File

@ -656,9 +656,12 @@ if ($showactivity) {
}
if ($mode == 'single') { // Single template
$baseurl = 'view.php?d=' . $data->id . '&mode=single&';
$baseurl = 'view.php?d=' . $data->id . '&mode=single&';
if (!empty($search)) {
$baseurl .= 'filter=1&';
$baseurl .= 'filter=1&';
}
if (!empty($page)) {
$baseurl .= 'page=' . $page;
}
echo $OUTPUT->paging_bar($totalcount, $page, $nowperpage, $baseurl);