Ver código fonte

Restored $conn->commit()

Foppe Hemminga 6 anos atrás
pai
commit
dbad7c795a
1 arquivos alterados com 1 adições e 1 exclusões
  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){