[SUCS Devel] [Git][sucssite/sucs-site][sucs-site] Fix retrieving student number

Imran Hussain imranh at sucs.org
Wed Sep 27 12:37:31 BST 2017


Imran Hussain pushed to branch sucs-site at sucssite / sucs-site


Commits:
5c2bcecf by Kit Manners at 2017-09-27T12:37:39+01:00
Fix retrieving student number

- - - - -


1 changed file:

- components/signup.php


Changes:

=====================================
components/signup.php
=====================================
--- a/components/signup.php
+++ b/components/signup.php
@@ -52,7 +52,7 @@ if (isset($_REQUEST['signupid']) && isset($_REQUEST['signuppw'])) {
             $smarty->assign("signuppw", $signuppw);
             // pass on the student id if it exists
             if (isset($_REQUEST['signupsid'])) {
-                $smarty->assign("signupsid", $signupsid);
+                $smarty->assign("signupsid", $_REQUEST['signupsid']);
             }
             $smarty->assign("overridable", $overridable);
             $smarty->assign("usertype", $row[type]);



View it on GitLab: https://projects.sucs.org/sucssite/sucs-site/commit/5c2bcecf13ac8abf8802f84ae1464718a5189f88

---
View it on GitLab: https://projects.sucs.org/sucssite/sucs-site/commit/5c2bcecf13ac8abf8802f84ae1464718a5189f88
You're receiving this email because of your account on projects.sucs.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sucs.org/pipermail/devel/attachments/20170927/80cf9869/attachment.html>


More information about the Devel mailing list