Revision: 306
http://sourceforge.net/p/beeframework/code/306
Author: m_plomer
Date: 2015-03-13 08:41:05 +0000 (Fri, 13 Mar 2015)
Log Message:
-----------
- regression fix in PaginationBase
Modified Paths:
--------------
trunk/framework/Bee/Persistence/PaginationBase.php
Modified: trunk/framework/Bee/Persistence/PaginationBase.php
===================================================================
--- trunk/framework/Bee/Persistence/PaginationBase.php 2015-03-13 03:51:46 UTC (rev 305)
+++ trunk/framework/Bee/Persistence/PaginationBase.php 2015-03-13 08:41:05 UTC (rev 306)
@@ -122,6 +122,6 @@
}
private function getIndexSave($idx, $defaultVal = 0) {
- return array_key_exists($idx, $this->state) ? $this->state[$idx] : $defaultVal;
+ return isset($this->state[$idx]) ? $this->state[$idx] : $defaultVal;
}
}
\ No newline at end of file
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|