diff options
author | zotlabs <mike@macgirvin.com> | 2018-12-12 19:11:30 -0800 |
---|---|---|
committer | zotlabs <mike@macgirvin.com> | 2018-12-12 19:11:30 -0800 |
commit | 6464099364f3d4e800137a57d3b9ff9e8f7601e4 (patch) | |
tree | 31da7e6f2c5082f141c0297dfdbf2a49788fd01c /Zotlabs/Module/Appman.php | |
parent | 30efeb5becb2b5e1133f429460c5c3bbc9b44f55 (diff) | |
download | volse-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.php | 6 |
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'); } |