aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Module/Appman.php
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2018-12-13 03:11:30 +0000
committerMario <mario@mariovavti.com>2018-12-14 21:31:02 +0100
commitc2ad9d4996840d8b76ca1d29cffc10c7d4723b39 (patch)
tree539accab5a26420e6e15105ccb98954b874c3bb1 /Zotlabs/Module/Appman.php
parent79f828125d6e0287a238901e504e82109eed4c93 (diff)
downloadvolse-hubzilla-c2ad9d4996840d8b76ca1d29cffc10c7d4723b39.tar.gz
volse-hubzilla-c2ad9d4996840d8b76ca1d29cffc10c7d4723b39.tar.bz2
volse-hubzilla-c2ad9d4996840d8b76ca1d29cffc10c7d4723b39.zip
regression: the ability to order apps messed up since adding pinned apps to the ordering
(cherry picked from commit 6464099364f3d4e800137a57d3b9ff9e8f7601e4)
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');
}