Solves redirect error message
authorMichael <heluecht@pirati.ca>
Sun, 13 Jan 2019 18:16:26 +0000 (18:16 +0000)
committerMichael <heluecht@pirati.ca>
Sun, 13 Jan 2019 18:16:26 +0000 (18:16 +0000)
mod/toggle_mobile.php

index 388c408..2821e0a 100644 (file)
@@ -17,5 +17,5 @@ function toggle_mobile_init(App $a) {
                $address = '';
        }
 
-       System::externalRedirect($address);
+       $a->redirect($address);
 }