Details
-
Type:
Bug
-
Status:
Resolved
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: 2.2.3
-
Component/s: ORM
-
Security Level: All
-
Labels:None
-
Environment:HidePHP 5.3.6-13ubuntu3.8 with Suhosin-Patch (cli) (built: Jun 13 2012 17:19:54)
{
"package": "doctrine/common",
"version": "2.2.2"
},
{
"package": "doctrine/dbal",
"version": "2.2.x-dev",
"source-reference": "b961a3fce6bf220f1dca47d7d747b9074bea4730",
"commit-date": "1341779435"
},
{
"package": "doctrine/doctrine-bundle",
"version": "dev-master",
"source-reference": "62134e6a8dd3f330131ee6a970f0cee1d7760c1d",
"commit-date": "1343203511"
},
{
"package": "doctrine/orm",
"version": "2.2.x-dev",
"source-reference": "5d2a3bcb3b467f41ee58575764f3ba84937f76e4",
"commit-date": "1341676080"
},ShowPHP 5.3.6-13ubuntu3.8 with Suhosin-Patch (cli) (built: Jun 13 2012 17:19:54) { "package": "doctrine/common", "version": "2.2.2" }, { "package": "doctrine/dbal", "version": "2.2.x-dev", "source-reference": "b961a3fce6bf220f1dca47d7d747b9074bea4730", "commit-date": "1341779435" }, { "package": "doctrine/doctrine-bundle", "version": "dev-master", "source-reference": "62134e6a8dd3f330131ee6a970f0cee1d7760c1d", "commit-date": "1343203511" }, { "package": "doctrine/orm", "version": "2.2.x-dev", "source-reference": "5d2a3bcb3b467f41ee58575764f3ba84937f76e4", "commit-date": "1341676080" },
Description
Trying to bind an empty array as a parameter to a raw SQL query results in an undefined index error on line 59.
One way to work around this is to specify the type of the array as the third parameter to addParameter