DBAL-435: [GH-264] Allow passing empty arrays as parameters #1631

Closed
doctrinebot opened this Issue Jan 31, 2013 · 1 comment

2 participants

@doctrinebot

Jira issue originally created by user @beberlei:

This issue is created automatically through a Github pull request on behalf of frosas:

Url: #264

Message:

Right now something like

$entityManager
    ->createQuery("SELECT e FROM Entity e WHERE e IN (:entities)")
    ->execute(array('entities' => array()));

produces a Warning: array_fill(): Number of elements must be positive

@doctrinebot

Issue was closed with resolution "Fixed"

@doctrinebot doctrinebot added the Bug label Dec 6, 2015
@beberlei beberlei was assigned by doctrinebot Dec 6, 2015
@doctrinebot doctrinebot added this to the 2.4 milestone Dec 6, 2015
@doctrinebot doctrinebot closed this Dec 6, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment