Updated Drupal to 8.6. This goes with the following updates because it's possible...
[yaffs-website] / web / core / lib / Drupal / Core / Entity / Query / ConditionFundamentals.php
index d03e2b2e8109499a10f2a08033cb1f426ac1f151..6de10bf3542fae179bf41b7e3f649d4caea20208 100644 (file)
@@ -65,7 +65,7 @@ abstract class ConditionFundamentals {
    * {@inheritdoc}
    */
   public function count() {
-    return count($this->conditions) - 1;
+    return count($this->conditions);
   }
 
   /**