Ver código fonte

set correct entity_id

stekkel 23 anos atrás
pai
commit
8acbba6252
1 arquivos alterados com 3 adições e 1 exclusões
  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;
     global $QUERY_STRING;
     $Args[1]['attachment_common']['href'] = '../src/view_text.php?'. $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
     /* The link that we created needs a name.  "view" will be displayed for
        all text attachments handled by this plugin. */
        all text attachments handled by this plugin. */