You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@usergrid.apache.org by ro...@apache.org on 2014/11/12 02:15:18 UTC

[13/45] incubator-usergrid git commit: copy paste error added cursor instead of uuid for the ID of last record.

copy paste error added cursor instead of uuid for the ID of last record.


Project: http://git-wip-us.apache.org/repos/asf/incubator-usergrid/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-usergrid/commit/96455ee6
Tree: http://git-wip-us.apache.org/repos/asf/incubator-usergrid/tree/96455ee6
Diff: http://git-wip-us.apache.org/repos/asf/incubator-usergrid/diff/96455ee6

Branch: refs/heads/master
Commit: 96455ee63d4ce64f14f70a2e14a121bfc30de7c2
Parents: 5ba6f0b
Author: Jason Kristian <ja...@apps4u.com.au>
Authored: Sun Oct 26 16:53:06 2014 +1000
Committer: Jason Kristian <ja...@apps4u.com.au>
Committed: Sun Oct 26 16:53:06 2014 +1000

----------------------------------------------------------------------
 sdks/php5/apache-usergrid/src/Api/ResourceIterator.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-usergrid/blob/96455ee6/sdks/php5/apache-usergrid/src/Api/ResourceIterator.php
----------------------------------------------------------------------
diff --git a/sdks/php5/apache-usergrid/src/Api/ResourceIterator.php b/sdks/php5/apache-usergrid/src/Api/ResourceIterator.php
index e26f38f..643d089 100644
--- a/sdks/php5/apache-usergrid/src/Api/ResourceIterator.php
+++ b/sdks/php5/apache-usergrid/src/Api/ResourceIterator.php
@@ -61,7 +61,7 @@ class ResourceIterator extends BaseIterator
 
         $lastItem = end($data);
 
-        $this->nextToken = $result['cursor'] ? $lastItem['cursor'] : false;
+        $this->nextToken = $result['cursor'] ? $lastItem['uuid'] : false;
 
         return $data;
     }