Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

[DDC-1961] Fixed parameter type support in Parameter #416

Merged
merged 1 commit into from

5 participants

@Majkl578

No description provided.

@guilhermeblanco guilhermeblanco merged commit 3f2ddc6 into doctrine:2.3
@travisbot

This pull request passes (merged 3b3d762 into 992b51e).

@beberlei
Owner

@guilhermeblanco how often did i tell you not to merge stuff into non master branches? :-)

@guilhermeblanco

@beberlei Probably the same amount of times I use the excuse that I didn't see it. =) I'll add the same on master.

@stof

@guilhermeblanco too late. @beberlei already cherry-picked it.

@guilhermeblanco

@stof I saw that. =)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Jul 31, 2012
  1. @Majkl578
This page is out of date. Refresh to see the latest.
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/Doctrine/ORM/Query/Parameter.php
View
4 lib/Doctrine/ORM/Query/Parameter.php
@@ -54,7 +54,7 @@ public function __construct($name, $value, $type = null)
{
$this->name = trim($name, ':');
- $this->setValue($value);
+ $this->setValue($value, $type);
}
/**
@@ -98,4 +98,4 @@ public function setValue($value, $type = null)
$this->value = $value;
$this->type = $type ?: ParameterTypeInferer::inferType($value);
}
-}
+}
Something went wrong with that request. Please try again.