summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoao Ventura2008-03-11 05:13:09 (GMT)
committer Joao Ventura2008-03-11 05:13:09 (GMT)
commitcd483e2a0a4c6e82ec8028a234b88bcc30f655d9 (patch)
treeb8da1dd74292ac31d4b13c641b80543b99b14fae
parent4c6194b4e561a4bea22196fac07ecd4c294f18b0 (diff)
Fix #232650 by nterbogt: fake the menu item better
-rw-r--r--print.module2
1 files changed, 2 insertions, 0 deletions
diff --git a/print.module b/print.module
index 25b269c..9a09ab4 100644
--- a/print.module
+++ b/print.module
@@ -793,6 +793,8 @@ function print_generate_path($path) {
global $base_url;
$path = drupal_get_normal_path($path);
+ $_GET['q'] = $path;
+ _menu_append_contextual_items();
menu_set_active_item($path);
// Adapted from index.php.