aboutsummaryrefslogtreecommitdiffstats
path: root/mod/manage.php
diff options
context:
space:
mode:
Diffstat (limited to 'mod/manage.php')
-rw-r--r--mod/manage.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/mod/manage.php b/mod/manage.php
index d769f0393..5ac3e6af8 100644
--- a/mod/manage.php
+++ b/mod/manage.php
@@ -29,7 +29,7 @@ function manage_content(&$a) {
$r = change_channel($change_channel);
if((argc() > 2) && !(argv(2) === 'default')) {
- goaway(z_root() . '/' . implode('/',array_slice($a->argv,2))); // Go to whatever is after /manage/, but with the new channel
+ goaway(z_root() . '/' . implode('/',array_slice(App::$argv,2))); // Go to whatever is after /manage/, but with the new channel
}
else {
if($r && $r['channel_startpage'])
@@ -45,7 +45,7 @@ function manage_content(&$a) {
intval(get_account_id())
);
- $account = get_app()->get_account();
+ $account = App::get_account();
if($r && count($r)) {
$channels = $r;