Explorar o código

set correct entity_id

stekkel %!s(int64=23) %!d(string=hai) anos
pai
achega
8acbba6252
Modificáronse 1 ficheiros con 3 adicións e 1 borrados
  1. 3 1
      functions/attachment_common.php

+ 3 - 1
functions/attachment_common.php

@@ -96,7 +96,9 @@ function attachment_common_link_text(&$Args)
        
     global $QUERY_STRING;
     $Args[1]['attachment_common']['href'] = '../src/view_text.php?'. $QUERY_STRING;
-    
+    $Args[1]['attachment_common']['href'] =
+          set_url_var($Args[1]['attachment_common']['href'], 
+	  'passed_ent_id',$Args[5]);
   
     /* The link that we created needs a name.  "view" will be displayed for
        all text attachments handled by this plugin. */