Commit 40f545b9 authored by mbriand's avatar mbriand
Browse files

Debug : impossible de supprimer une date d'un trajet

parent a72e1320
......@@ -596,10 +596,10 @@ class trajet extends stdentity
if (! $this->dbrw)
return false;
$req = new delete($site->dbrw,
$req = new delete($this->dbrw,
"cv_trajet_date",
array("id_trajet" => $this->id,
"trajet_date" => $date), 1);
"trajet_date" => $date));
return ($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