From 7311f4ed262de0744358e90f1a1d8e1b869d3400 Mon Sep 17 00:00:00 2001 From: TheMrNomis Date: Thu, 17 Mar 2016 11:58:29 +0100 Subject: [PATCH] bugfix --- databaseOperations.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/databaseOperations.php b/databaseOperations.php index 1c162c6..6bb54fa 100755 --- a/databaseOperations.php +++ b/databaseOperations.php @@ -317,7 +317,7 @@ function updateEvent($db, $id, $titre, $catArray, $localisation, $dtstart, $dten try { $db->beginTransaction(); - $request = $db->prepare('UPDATE event SET event_tile=:title, event_localisation=:localisation, event_dtstart=:dstart, event_dtend=:dtend, event_description=:description, event_url=:url, event_urlImage=:urlImage, event_contact=:contact WHERE event_id=:id'); + $request = $db->prepare('UPDATE event SET event_title=:title, event_localisation=:localisation, event_dtstart=:dstart, event_dtend=:dtend, event_description=:description, event_url=:url, event_urlImage=:urlImage, event_contact=:contact WHERE event_id=:id'); $request->execute(array('title'=>$titre, 'localisation'=>$localisation, 'dtend'=>date("Y-m-d H:i:s",$dtstart),