Permalink
Browse files

Fixed endless loop in Phalcon\Mvc\Model\Resultset::update()

  • Loading branch information...
1 parent fc3907f commit 4d79fdd63e2229311f8cafdbcedf5b64bb96e71c Aleksandr Besedin committed May 19, 2016
Showing with 3 additions and 0 deletions.
  1. +1 −0 CHANGELOG.md
  2. +2 −0 phalcon/mvc/model/resultset.zep
View
@@ -78,6 +78,7 @@
- Using a settable variable for the Mongo Connection Service name instead of a hard coded string [#11725](https://github.com/phalcon/cphalcon/issues/11725)
- Added new getter `Phalcon\Mvc\Model\Query\Builder::getJoins()` - to get join parts from query builder
- Fixed `Phalcon\Db\Dialect\Oracle::prepareTable()` to correctly generate SQL for table aliases [#11799](https://github.com/phalcon/cphalcon/issues/11799)
+- Fixed `Phalcon\Mvc\Model\Resultset::update()` - removed endless loop queries
# [2.0.11](https://github.com/phalcon/cphalcon/releases/tag/phalcon-v2.0.11) (????-??-??)
- Fix Model magic set functionality to maintain variable visibility and utilize setter methods.[#11286](https://github.com/phalcon/cphalcon/issues/11286)
@@ -455,6 +455,8 @@ abstract class Resultset
let transaction = false;
break;
}
+
+ this->next();
}
/**

0 comments on commit 4d79fdd

Please sign in to comment.