Fixed EZP-22552: 500 error on REST /content/views
Merge pull request #886 from ezsystems/EZP-22552-rest_create_view_error

Fixed EZP-22552: 500 error on REST /content/views