From 03237598a927aa63feb2a8c49a11e9977f58ac9c Mon Sep 17 00:00:00 2001 From: Romain Quetiez Date: Thu, 15 Jul 2010 07:58:58 +0000 Subject: [PATCH] #165 Issue when installing without selecting any of the ticketing modules SVN:trunk[605] --- addons/userrights/userrightsprofile.class.inc.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/addons/userrights/userrightsprofile.class.inc.php b/addons/userrights/userrightsprofile.class.inc.php index d4cb21331..11331350e 100644 --- a/addons/userrights/userrightsprofile.class.inc.php +++ b/addons/userrights/userrightsprofile.class.inc.php @@ -1521,7 +1521,9 @@ class SetupProfiles { if (!MetaModel::IsValidClass($sClass)) { - throw new CoreException("Invalid class name '$sClass'"); + // Could be a class defined in a module that wasn't installed + continue; + //throw new CoreException("Invalid class name '$sClass'"); } if ($sAllowedStimuli == 'any')