Merge pull request #10157 from eileenmcnaughton/iida3
[civicrm-core.git] / api / v3 / SavedSearch.php
index 1702ad8f9f7b9eccbe83c68cbc031d9375bf8399..e32c258e35282961af64d811031e582956f5c0e4 100644 (file)
@@ -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.