flush
[pharext/pharext.org] / app / Controller / Github / Signin.php
index 05f3e3c0f84320cf7e14632effe2f4c85e9bb53e..9fca55481886af5321fe0157f4206cd55bb5a611 100644 (file)
@@ -10,7 +10,7 @@ class Signin extends Github
                $callback = $this->app->getBaseUrl()->mod("./github/callback");
                $location = $this->github->getAuthUrl($callback);
                $this->app->redirect($location);
-               if ($returnto = $this->app->getRequest()->getQuery("returnto")) {
+               if (($returnto = $this->app->getRequest()->getQuery("returnto"))) {
                        $this->session->returnto = $returnto;
                }
        }