diff --git a/htdocs/core/lib/functions.lib.php b/htdocs/core/lib/functions.lib.php index 8159bc5436e..62b0d8b42d2 100644 --- a/htdocs/core/lib/functions.lib.php +++ b/htdocs/core/lib/functions.lib.php @@ -12296,12 +12296,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';