diff --git a/htdocs/core/lib/functions.lib.php b/htdocs/core/lib/functions.lib.php index 7ffc4d04934..7ebb7a6eba5 100644 --- a/htdocs/core/lib/functions.lib.php +++ b/htdocs/core/lib/functions.lib.php @@ -12287,12 +12287,12 @@ function getElementProperties($elementType) $classname = 'EmailSenderProfile'; $table_element = 'c_email_senderprofile'; $subelement = ''; - } elseif ($objectType == 'conferenceorboothattendee') { + } elseif ($elementType == 'conferenceorboothattendee') { $classpath = 'eventorganization/class'; $classfile = 'conferenceorboothattendee'; $classname = 'ConferenceOrBoothAttendee'; $module = 'eventorganization'; - } elseif ($objectType == 'conferenceorbooth') { + } elseif ($elementType == 'conferenceorbooth') { $classpath = 'eventorganization/class'; $classfile = 'conferenceorbooth'; $classname = 'ConferenceOrBooth';