Browse Source

bugfix

master
n0m1s 10 years ago
parent
commit
7311f4ed26
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      databaseOperations.php

+ 1
- 1
databaseOperations.php View File

@ -317,7 +317,7 @@ function updateEvent($db, $id, $titre, $catArray, $localisation, $dtstart, $dten
try try
{ {
$db->beginTransaction(); $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, $request->execute(array('title'=>$titre,
'localisation'=>$localisation, 'localisation'=>$localisation,
'dtend'=>date("Y-m-d H:i:s",$dtstart), 'dtend'=>date("Y-m-d H:i:s",$dtstart),


Loading…
Cancel
Save