Browse Source

Set default status to STUDENT - refs BT#8538

Imanol Losada 10 years ago
parent
commit
a5fa313b6a
1 changed files with 1 additions and 1 deletions
  1. 1 1
      main/auth/inscription.php

+ 1 - 1
main/auth/inscription.php

@@ -408,7 +408,7 @@ if ($form->validate()) {
             }
         }
 
-        $status = isset($values['status']) ? $values['status'] : null;
+        $status = isset($values['status']) ? $values['status'] : STUDENT;
         $phone = isset($values['phone']) ? $values['phone'] : null;
 
         // Creates a new user