MDL-51515 assign: Fix typo setting url in nav tree.
[moodle.git] / mod / assign / locallib.php
index 74994bb..1f858ab 100644 (file)
@@ -511,7 +511,7 @@ class assign {
         }
 
         $returnparams = array('rownum'=>optional_param('rownum', 0, PARAM_INT),
-                              'useridlistid'=>optional_param('useridlistid', 0, PARAM_INT));
+                              'useridlistid' => optional_param('useridlistid', time(), PARAM_INT));
         $this->register_return_link($action, $returnparams);
 
         // Now show the right view page.