Commit 4a113b4e authored by Bate's avatar Bate

#23 C'est peut-etre ca, mais ca impliquerai un autre bug d'operateurs en double

parent 727b8376
......@@ -271,7 +271,7 @@ class comptoir extends stdentity
// Met à jour l'entrée de tracking de chaque barmen
$req = new requete ($this->dbrw,
"UPDATE `cpt_tracking` SET `activity_time`='".date("Y-m-d H:i:s")."'
WHERE `activity_time` > '".date("Y-m-d H:i:s",time()-intval(ini_get("session.gc_maxlifetime")))."'
WHERE `activity_time` >= '".date("Y-m-d H:i:s",time()-intval(ini_get("session.gc_maxlifetime")))."'
AND `closed_time` IS NULL
AND `id_utilisateur` = '".mysql_real_escape_string($Op->id)."'
AND `id_comptoir` = '".mysql_real_escape_string($this->id)."'");
......
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