diff --git a/core/um-fields.php b/core/um-fields.php
index 0db89032..c5c98f07 100644
--- a/core/um-fields.php
+++ b/core/um-fields.php
@@ -1521,6 +1521,9 @@ class UM_Fields {
/* Multi-Select dropdown */
case 'multiselect':
+
+ $max_selections = ( isset( $max_selections ) ) ? absint( $max_selections ) : 0;
+
$output .= '
';
if ( isset( $data['allowclear'] ) && $data['allowclear'] == 0 ) {
@@ -1535,7 +1538,7 @@ class UM_Fields {
$output .= '
';
- $output .= '