diff --git a/lib/RippingCluster/Database.class.php b/lib/RippingCluster/Database.class.php index abac4cd..9ff1b14 100644 --- a/lib/RippingCluster/Database.class.php +++ b/lib/RippingCluster/Database.class.php @@ -52,7 +52,7 @@ class RippingCluster_Database { $result = $stmt->execute(); if (!$result) { - list($code, $dummy, $message) = $stmt->errorInfo(); + list($dummy, $code, $message) = $stmt->errorInfo(); throw new RippingCluster_Exception_DatabaseQueryFailed($message, $code); }