aboutsummaryrefslogtreecommitdiff
path: root/private/model
diff options
context:
space:
mode:
Diffstat (limited to 'private/model')
-rw-r--r--private/model/Connection.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/private/model/Connection.php b/private/model/Connection.php
index 18b0d72..dc25e8b 100644
--- a/private/model/Connection.php
+++ b/private/model/Connection.php
@@ -31,7 +31,7 @@ class Connection
);
// we destroy $cred as quickly as possible
$cred = null;
- } catch (PDOException as $e) {
+ } catch (PDOException $e) {
// we destroy $cred as quickly as possible
$cred = null;
die(json_encode(array("Result-Type" => "Error", "Content" => array($e))));