dever 7 years ago
parent
commit
5a539c677a
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/Api.php

+ 1 - 1
src/Api.php

@@ -111,7 +111,7 @@ class Api
 				if ($num == $total || $page_number > 0) {
 					$user['index'] = $user['index'] + 1;
 					if ($page_number) {
-						$user['index'] = $page_number;
+						$user['index'] = $page_number + 1;
 					}
 					Dever::db('survey/user')->update(array('where_id' => $user['id'], 'index' => $user['index']));
 				}