Commit dcb75baf authored by Bate's avatar Bate

On envoie les erreurs

parent 6a6b28bf
......@@ -82,6 +82,9 @@ $planning = new planning2($site->db, $site->dbrw);
$id_planning = $planning->add("Test",0,0,true,'2013-06-11 00:00:00','2013-06-12 00:00:00');
if(!$id_planning)
echo "Erreur creation planning";
echo mysql_error ();
$planning->remove();
?>
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