# This patch file was generated by NetBeans IDE
# This patch can be applied using context Tools: Apply Diff Patch action on respective folder.
# It uses platform neutral UTF-8 encoding.
# Above lines and this line are ignored by the patching process.
Index: moodle/mod/resource/type/file/resource.class.php
--- moodle/mod/resource/type/file/resource.class.php Base (1.71.2.26)
+++ moodle/mod/resource/type/file/resource.class.php Locally Modified (Based On 1.71.2.26)
@@ -693,7 +693,7 @@
 
             } elseif ($resourcetype == 'pdf') {
                 echo '<div class="resourcepdf">';
-                echo '<object data="' . $fullurl . '" type="application/pdf">';
+                echo '<object data="' . $fullurl . '#" type="application/pdf">';
                 echo '<param name="src" value="' . $fullurl . '" />';
                 echo get_string('clicktoopen', 'resource') . '<a href="' . $fullurl . '">' . format_string($resource->name) . '</a>';
                 echo '</object>';
