aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Module/Appman.php
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2018-12-12 19:11:30 -0800
committerzotlabs <mike@macgirvin.com>2018-12-12 19:11:30 -0800
commit6464099364f3d4e800137a57d3b9ff9e8f7601e4 (patch)
tree31da7e6f2c5082f141c0297dfdbf2a49788fd01c /Zotlabs/Module/Appman.php
parent30efeb5becb2b5e1133f429460c5c3bbc9b44f55 (diff)
downloadvolse-hubzilla-6464099364f3d4e800137a57d3b9ff9e8f7601e4.tar.gz
volse-hubzilla-6464099364f3d4e800137a57d3b9ff9e8f7601e4.tar.bz2
volse-hubzilla-6464099364f3d4e800137a57d3b9ff9e8f7601e4.zip
regression: the ability to order apps messed up since adding pinned apps to the ordering
Diffstat (limited to 'Zotlabs/Module/Appman.php')
-rw-r--r--Zotlabs/Module/Appman.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/Zotlabs/Module/Appman.php b/Zotlabs/Module/Appman.php
index f50dcc2ab..39689665e 100644
--- a/Zotlabs/Module/Appman.php
+++ b/Zotlabs/Module/Appman.php
@@ -90,12 +90,12 @@ class Appman extends \Zotlabs\Web\Controller {
$channel = \App::get_channel();
- if(argc() > 2) {
+ if(argc() > 3) {
if(argv(2) === 'moveup') {
- Zlib\Apps::moveup(local_channel(),argv(1));
+ Zlib\Apps::moveup(local_channel(),argv(1),argv(3));
}
if(argv(2) === 'movedown') {
- Zlib\Apps::movedown(local_channel(),argv(1));
+ Zlib\Apps::movedown(local_channel(),argv(1),argv(3));
}
goaway(z_root() . '/apporder');
}