Commit a9c997db authored by Ayolo's avatar Ayolo

boxes

parent 22f0d9c3
......@@ -53,9 +53,9 @@ if ( $nb )
else
$sublist->add("<a href=\"".$topdir."user/reservations.php\">Mes reservations de salles</a>");
$req = new requete($this->db,"SELECT COUNT(*) " .
$req = new requete($site->db,"SELECT COUNT(*) " .
"FROM inv_emprunt " .
"WHERE id_utilisateur='".$this->user->id."' AND etat_emprunt<=1");
"WHERE id_utilisateur='".$site->user->id."' AND etat_emprunt<=1");
list($nb) = $req->get_row();
if ( $nb )
......
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