From 5d3705cf4a29fe0215fd36996128f69459dde125 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=98yvind=20gjesdal?= <oyvind.gjesdal@uib.no> Date: Mon, 7 Jun 2021 02:27:48 +0200 Subject: [PATCH] add missing 's' --- classes/modules/typeModule.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/classes/modules/typeModule.php b/classes/modules/typeModule.php index 7420827e..83bff87a 100644 --- a/classes/modules/typeModule.php +++ b/classes/modules/typeModule.php @@ -126,8 +126,8 @@ class TypeModule extends abstractModule{ //$typesAndValues = array('rdfs:Resource' => -1); //$typesAndValues = array('rdfs__Resource' => -1); //$typesAndValues = array('bibo:Document' => -1); - if (!empty($conf['typesAndValues'])){ - $typesAndValues = $conf['typeAndValues']; + if (isset(conf['typesAndValues'])){ + $typesAndValues = conf['typesAndValues']; } else{ $typesAndValues = array('bibo__Document' => -1); -- GitLab