f38f6341 by logesh

dev:changes in url

1 parent 4153cb06
Showing 1 changed file with 2 additions and 2 deletions
...@@ -210,9 +210,9 @@ class block_mynotes_manager { ...@@ -210,9 +210,9 @@ class block_mynotes_manager {
210 $newnote->timecreated = time(); 210 $newnote->timecreated = time();
211 $newnote->notestime=$timer; 211 $newnote->notestime=$timer;
212 if (!empty($timer)){ 212 if (!empty($timer)){
213 $newnote->notesurl=$activityUrl.'?resume='.$newnote->notestime; 213 $newnote->notesurl=$activityUrl.'?resume='.$newnote->notestime.'?type=notes';
214 }else{ 214 }else{
215 $newnote->notesurl=$activityUrl.'?resume=0'; 215 $newnote->notesurl=$activityUrl;
216 } 216 }
217 217
218 if ($cmtid = $DB->insert_record('block_mynotes', $newnote)) { 218 if ($cmtid = $DB->insert_record('block_mynotes', $newnote)) {
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!