From b867a36a63b065b23dfc2eea8392ca583e4eb029 Mon Sep 17 00:00:00 2001 From: Josef Moravec <josef.moravec@gmail.com> Date: Thu, 24 Aug 2017 11:10:51 +0200 Subject: [PATCH] Fix bad getMessage call --- module/VuFind/src/VuFind/ILS/Driver/KohaILSDI.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/VuFind/src/VuFind/ILS/Driver/KohaILSDI.php b/module/VuFind/src/VuFind/ILS/Driver/KohaILSDI.php index 49d3c6e1b1e..52213208d63 100644 --- a/module/VuFind/src/VuFind/ILS/Driver/KohaILSDI.php +++ b/module/VuFind/src/VuFind/ILS/Driver/KohaILSDI.php @@ -203,7 +203,7 @@ class KohaILSDI extends \VuFind\ILS\Driver\AbstractBase implements $this->db->exec("SET NAMES utf8"); } catch (PDOException $e) { $this->debug('Connection failed: ' . $e->getMessage()); - throw new ILSException($e->getMessage); + throw new ILSException($e->getMessage()); } $this->debug('Connected to DB'); -- GitLab