X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=api%2Fv3%2FSavedSearch.php;h=e32c258e35282961af64d811031e582956f5c0e4;hb=9bd51e848bde8221f6d8f22eab8c913fc6b7e3a9;hp=1702ad8f9f7b9eccbe83c68cbc031d9375bf8399;hpb=71f7de786e8da429b2e8d630cb3ec1bf02f529e9;p=civicrm-core.git diff --git a/api/v3/SavedSearch.php b/api/v3/SavedSearch.php index 1702ad8f9f..e32c258e35 100644 --- a/api/v3/SavedSearch.php +++ b/api/v3/SavedSearch.php @@ -43,6 +43,7 @@ * @access public */ function civicrm_api3_saved_search_create($params) { + civicrm_api3_verify_one_mandatory($params, NULL, array('form_values', 'where_clause')); // The create function of the dao expects a 'formValues' that is // not serialized. The get function returns form_values, that is // serialized.