Vous avez reçu un message "Your GitLab account has been locked ..." ? Pas d'inquiétude : lisez cet article https://docs.gricad-pages.univ-grenoble-alpes.fr/help/unlock/

Commit 06a311f7 authored by Mathieu Loiseau's avatar Mathieu Loiseau
Browse files

register bug corrected

parent 8845197f
......@@ -169,7 +169,7 @@ class register
}
array_push($sql, "SELECT @USER_ID as `id`;");
try{
if($db->transaction($sql)){
if($db->transaction($sql,false)){
$this->userid = $db->fetch_object()->id;
redirect('');
}
......
......@@ -61,10 +61,10 @@ $notif->readNotif();
<?php
if ( $GLOBALS['userlogged'] ) { ?>
<li><a href="?mode=profile" title="<?php echo htmlspecialchars($GLOBALS['user']->username); ?>"><?php echo $lang['menu_profile']; ?></a></li>
<li><a href="?mode=score" title="score"><?php echo $lang['scores']; ?></a></li>
<li><a class="active" href="?mode=infos" title="rules"><?php echo $lang['rules']; ?></a></li>
<li><a href="?mode=logout" title="logout"><?php echo $lang['logout']; ?></a></li>
<li><a href="index.php?mode=profile" title="<?php echo htmlspecialchars($GLOBALS['user']->username); ?>"><?php echo $lang['menu_profile']; ?></a></li>
<li><a href="index.php?mode=score" title="score"><?php echo $lang['scores']; ?></a></li>
<li><a href="index.php?mode=infos" title="rules"><?php echo $lang['rules']; ?></a></li>
<li><a href="index.php?mode=logout" title="logout"><?php echo $lang['logout']; ?></a></li>
<li id="notification_li">
<span id="notification_count" ></span>
<a href="#" id="notificationLink"><img src="style/default.css/imgs/info.svg" style="width:25px;height:25px;"></a>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment