Commit aa5e6228 authored by Bate's avatar Bate

Planning2

parent 0fc55ffb
......@@ -471,7 +471,7 @@ class planning2 extends stdentity
$req = new requete($this->db,
"SELECT start FROM pl2_gap
WHERE id_planning = $this->id
AND start > ".gmdate("Y-m-d H:i:s",$date)."
AND start > '".gmdate("Y-m-d H:i:s",$date)."'
ORDER BY start ASC LIMIT 1");
if($req->lines == 1)
{
......
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