diff --git a/module/VuFind/src/VuFind/ILS/Driver/KohaILSDI.php b/module/VuFind/src/VuFind/ILS/Driver/KohaILSDI.php index 5a9fbb687c96a8a664963e54d256db7437fd1a37..49d3c6e1b1e847d6d9c2c1f7e23ffe06676b971d 100644 --- a/module/VuFind/src/VuFind/ILS/Driver/KohaILSDI.php +++ b/module/VuFind/src/VuFind/ILS/Driver/KohaILSDI.php @@ -236,7 +236,7 @@ class KohaILSDI extends \VuFind\ILS\Driver\AbstractBase implements $result = $this->db->query("SELECT 1 FROM $table LIMIT 1"); // Result is FALSE (no table found) or PDOStatement Object (table found) $returnValue = $result !== false; - } catch (Exception $e) { + } catch (PDOException $e) { // We got an exception == table not found $returnValue = false; }