diff --git a/sites/all/modules/contrib/print/print.module b/sites/all/modules/contrib/print/print.module
index a71d254..47d0cfc 100644
--- a/sites/all/modules/contrib/print/print.module
+++ b/sites/all/modules/contrib/print/print.module
@@ -758,8 +758,8 @@ function print_insert_link($path = NULL, $node = NULL) {
           $path = $nid;
         }
       }
-      $path = PRINT_PATH . '/' . $path;
-      $query = print_query_string_encode($_GET, array('q'));
+      $path = PRINT_PATH . '/' . $path;      
+      $query = drupal_parse_url($_SERVER['REQUEST_URI']);
       if (empty($query)) {
         $query = NULL;
       }
@@ -769,7 +769,7 @@ function print_insert_link($path = NULL, $node = NULL) {
     }
     drupal_add_css(drupal_get_path('module', 'print') . '/css/printlinks.css');
     $format = theme('print_format_link');
-    return '<span class="print_html">' . l($format['text'], $path, array('attributes' => $format['attributes'], 'query' => $query, 'absolute' => TRUE, 'html' => $format['html'])) . '</span>';
+    return '<span class="print_html">' . l($format['text'], $path, array('attributes' => $format['attributes'], 'query' => $query['query'], 'absolute' => TRUE, 'html' => $format['html'])) . '</span>';
   }
   else {
     return FALSE;
