From ff39b7bc5123c3b9ba2bc1480e339e72834861ae Mon Sep 17 00:00:00 2001 From: Eric Date: Thu, 15 Nov 2018 10:59:28 +0100 Subject: [PATCH] =?UTF-8?q?N=C2=B01759=20-=20Fix=20setup=20error=20on=20ab?= =?UTF-8?q?stract=20class=20not=20existing?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- core/metamodel.class.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/core/metamodel.class.php b/core/metamodel.class.php index aa08fb292..399379f90 100644 --- a/core/metamodel.class.php +++ b/core/metamodel.class.php @@ -536,7 +536,10 @@ abstract class MetaModel */ final static public function GetUniquenessRules($sClass) { - self::_check_subclass($sClass); + if (!isset(self::$m_aClassParams[$sClass])) + { + return array(); + } $aCurrentUniquenessRules = array();