Skip to main content
1 of 3
Kevin
  • 28k
  • 12
  • 95
  • 196

The condition method does not take an array.

https://api.drupal.org/api/drupal/includes%21database%21select.inc/function/SelectQuery%3A%3Acondition/7

You need to separate condition to two calls, one per field, without passing them as an array.

Kevin
  • 28k
  • 12
  • 95
  • 196