From: skodak Date: Sun, 15 Apr 2007 16:09:55 +0000 (+0000) Subject: MDL-9311 participants - duplicate "&perpage="; merged from MOODLE_18_STABLE X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=a2c4671e33c47bdd1211b7434efb5a98381e4981;p=moodle.git MDL-9311 participants - duplicate "&perpage="; merged from MOODLE_18_STABLE --- diff --git a/user/index.php b/user/index.php index eaa014de3c..cd3753d121 100644 --- a/user/index.php +++ b/user/index.php @@ -622,11 +622,12 @@ echo ' '."\n"; } + $perpageurl = preg_replace('/&perpage=\d*/','', $baseurl); if ($perpage == SHOW_ALL_PAGE_SIZE) { - echo '
'.get_string('showperpage', '', DEFAULT_PAGE_SIZE).'
'; + echo '
'.get_string('showperpage', '', DEFAULT_PAGE_SIZE).'
'; } else if ($matchcount > 0 && $perpage < $matchcount) { - echo '
'.get_string('showall', '', $matchcount).'
'; + echo '
'.get_string('showall', '', $matchcount).'
'; } print_footer($course);