dev:changes in url
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)) { | ... | ... |
-
Please register or sign in to post a comment