aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2024-03-14 09:53:40 +0000
committerMario <mario@mariovavti.com>2024-03-14 09:53:40 +0000
commit97b82fc77b424d051b2a472ab2318fd768151bdd (patch)
tree12dcffb4b79907c56a3aa52d49ee6c25faff97a0
parentb7bda0b87d1884b2b2b98f7d4ec00890311fc156 (diff)
downloadvolse-hubzilla-97b82fc77b424d051b2a472ab2318fd768151bdd.tar.gz
volse-hubzilla-97b82fc77b424d051b2a472ab2318fd768151bdd.tar.bz2
volse-hubzilla-97b82fc77b424d051b2a472ab2318fd768151bdd.zip
fix dreport links after recent changes
-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}}