Foppe Hemminga 6 лет назад
Родитель
Сommit
dbad7c795a
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      ajax.php

+ 1 - 1
ajax.php

@@ -57,7 +57,7 @@ function parse_data()
 			$sth->bindParam( ':start_time', $time );
 			$sth->execute();
 		}
-		// $conn->commit();
+		$conn->commit();
 		echo $_GET['callback'] . '(' . json_encode($return ). ')';
 		$conn = null;
 	}catch (PDOException $e){