summaryrefslogtreecommitdiffstats
path: root/php-doctrine-orm-upstream.patch
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2014-10-07 07:22:05 +0200
committerRemi Collet <fedora@famillecollet.com>2014-10-07 07:22:05 +0200
commit930be112dcddd4604eae9450522fdafa9438890a (patch)
tree44c06152a2d58bd56d26a49271774e9e02a5003f /php-doctrine-orm-upstream.patch
parent940778e4005ee80dd729442cd821a72e8cf8b483 (diff)
php-doctrine-orm: 2.4.6
Diffstat (limited to 'php-doctrine-orm-upstream.patch')
-rw-r--r--php-doctrine-orm-upstream.patch2
1 files changed, 1 insertions, 1 deletions
diff --git a/php-doctrine-orm-upstream.patch b/php-doctrine-orm-upstream.patch
index c8d6170..b2dff4c 100644
--- a/php-doctrine-orm-upstream.patch
+++ b/php-doctrine-orm-upstream.patch
@@ -49,7 +49,7 @@ index 5d36f64..f8b4bb7 100644
public function newInstance()
{
- if ($this->_prototype === null) {
-- if (PHP_VERSION_ID === 50429 || PHP_VERSION_ID === 50513) {
+- if (PHP_VERSION_ID === 50429 || PHP_VERSION_ID === 50513 || PHP_VERSION_ID >= 50600) {
- $this->_prototype = $this->reflClass->newInstanceWithoutConstructor();
- } else {
- $this->_prototype = unserialize(sprintf('O:%d:"%s":0:{}', strlen($this->name), $this->name));