diff --git a/kernel/classes/datatypes/ezobjectrelationlist/ezobjectrelationlisttype.php b/kernel/classes/datatypes/ezobjectrelationlist/ezobjectrelationlisttype.php index ce2085c6cd8..7246cd884bc 100644 --- a/kernel/classes/datatypes/ezobjectrelationlist/ezobjectrelationlisttype.php +++ b/kernel/classes/datatypes/ezobjectrelationlist/ezobjectrelationlisttype.php @@ -71,7 +71,8 @@ function validateObjectAttributeHTTPInput( $http, $base, $contentObjectAttribute // If in browse mode and relations have been added using the search field // items are stored in the post variable if ( - $http->postVariable( $postVariableName ) != array( "no_relation" ) + $http->hasPostVariable( $postVariableName ) + && $http->postVariable( $postVariableName ) != array( "no_relation" ) && count( $http->postVariable( $postVariableName ) ) > 0 ) {