Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Redirection speed is faster (use 0), also prevents page going into IE…

… history
  • Loading branch information...
commit 603cc2631cc439188b925e271680ab56881f5237 1 parent 42b76b1
moodler authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  mod/resource/view.php
View
2  mod/resource/view.php
@@ -56,7 +56,7 @@
case WEBLINK:
add_to_log($course->id, "resource", "view", "view.php?id=$cm->id", "$resource->id");
- redirect($resource->reference);
+ redirect($resource->reference, "", 0);
break;
case WEBPAGE:
Please sign in to comment.
Something went wrong with that request. Please try again.