aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Zotlabs/Module/Dreport.php2
-rw-r--r--view/tpl/dreport.tpl2
2 files changed, 2 insertions, 2 deletions
diff --git a/Zotlabs/Module/Dreport.php b/Zotlabs/Module/Dreport.php
index 4a0ba4bbe..4cc666cd4 100644
--- a/Zotlabs/Module/Dreport.php
+++ b/Zotlabs/Module/Dreport.php
@@ -30,7 +30,7 @@ class Dreport extends \Zotlabs\Web\Controller {
}
}
sleep(3);
- goaway(z_root() . '/dreport/' . gen_link_id($mid));
+ goaway(z_root() . '/dreport?mid=' . $mid);
}
if(! $mid) {
diff --git a/view/tpl/dreport.tpl b/view/tpl/dreport.tpl
index 87ec1c35f..a24608f58 100644
--- a/view/tpl/dreport.tpl
+++ b/view/tpl/dreport.tpl
@@ -6,7 +6,7 @@
<i class="fa fa-cog"></i>
</button>
<div class="dropdown-menu">
- <a href="dreport/push/{{$safe_mid}}" class="dropdown-item">{{$push}}</a>
+ <a href="dreport/push?mid={{$mid}}" class="dropdown-item">{{$push}}</a>
</div>
</div>
{{/if}}