From 97ca2a69c00a3fc968ee50db21f95229ff34768d Mon Sep 17 00:00:00 2001 From: "j.faassen" Date: Mon, 4 May 2015 18:18:03 +0200 Subject: [PATCH] Bugfix on crash --- src/Extractor/PdoExtractor.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Extractor/PdoExtractor.php b/src/Extractor/PdoExtractor.php index d0b5f91..ea2c314 100644 --- a/src/Extractor/PdoExtractor.php +++ b/src/Extractor/PdoExtractor.php @@ -28,7 +28,7 @@ public function init() $res = $this->stmt->execute(); if (!$res) { $arr = $this->stmt->errorInfo(); - throw new RuntimeException($arr[2] . "\n" . $sql); + throw new RuntimeException($arr[2] . "\n" . $this->sql); } }