inc/rest/routes/OptionsRoutes.php
@@ -1,6 +1,7 @@ <?php namespace JVBase\rest\routes; use JVBase\registrar\Registrar; use JVBase\rest\PermissionHandler; use JVBase\rest\Rest; use JVBase\managers\Cache; @@ -81,7 +82,7 @@ ]; $meta = Meta::forOptions('options'); $fields = jvbGetFields('options'); $fields = Registrar::getFieldsFor('options'); $allowedFields = array_filter($data, function ($key) use ($fields) {