X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=api%2Fv3%2FSavedSearch.php;h=e32c258e35282961af64d811031e582956f5c0e4;hb=9bd51e848bde8221f6d8f22eab8c913fc6b7e3a9;hp=c502ef9a1ace5b7f6ef56bb97480d82350aa3632;hpb=0f1428e71dd43dc0b146d18a64aa51cd7ac832da;p=civicrm-core.git diff --git a/api/v3/SavedSearch.php b/api/v3/SavedSearch.php index c502ef9a1a..e32c258e35 100644 --- a/api/v3/SavedSearch.php +++ b/api/v3/SavedSearch.php @@ -2,7 +2,7 @@ /* +--------------------------------------------------------------------+ - | CiviCRM version 4.6 | + | CiviCRM version 4.7 | +--------------------------------------------------------------------+ | Copyright Chirojeugd-Vlaanderen vzw 2015 | +--------------------------------------------------------------------+ @@ -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.