Commit b320b9e9 authored by mbriand's avatar mbriand
Browse files

bleh

parent 463df4cc
......@@ -73,12 +73,11 @@ class jeton extends stdentity
WHERE `nom_jeton` = '" . mysql_real_escape_string($nom) . "'
AND `type_jeton` = '" . mysql_real_escape_string($type) . "'
AND `id_salle` = '" . mysql_real_escape_string($id_salle) . "'
LIMIT 1", 1);
LIMIT 1");
if ( $req->lines == 1 )
{
$this->_load($req->get_row());
print_r("id : ".$this->id);
return true;
}
......
......@@ -598,8 +598,6 @@ else // Vente
{
$machine->load_by_id_creneau ( $id_creneau, $debut );
print_r("nom :".$nom_jeton);
$jeton = new jeton($site->db,$site->dbrw);
$jeton->load_by_nom_and_salle($nom_jeton,$machine->type,$id_salle);
......
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