Commit ad595dd8 authored by Tanken's avatar Tanken

fixed declaration of Doctrine_Connection_Pgsql::modifyLimitQuery and...

fixed declaration of Doctrine_Connection_Pgsql::modifyLimitQuery and Doctrine_Connection_Common::modifyLimitQuery to be the same

parent 65d4158c
......@@ -10,7 +10,7 @@ class Doctrine_Connection_Common extends Doctrine_Connection {
* @param mixed $limit
* @param mixed $offset
*/
public function modifyLimitQuery($query,$limit = false,$offset = false) {
public function modifyLimitQuery($query,$limit = false,$offset = false,$isManip=false) {
if($limit && $offset) {
$query .= " LIMIT ".$limit." OFFSET ".$offset;
} elseif($limit && ! $offset) {
......
......@@ -110,7 +110,7 @@ class Doctrine_Connection_Pgsql extends Doctrine_Connection_Common {
* @return string modified query
*/
public function modifyLimitQuery($query, $limit, $offset, $isManip = false) {
public function modifyLimitQuery($query, $limit=false, $offset=false, $isManip = false) {
if ($limit > 0) {
$query = rtrim($query);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment