dever 7 anni fa
parent
commit
133a7cdb57
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      src/Api.php

+ 1 - 1
src/Api.php

@@ -109,7 +109,7 @@ class Api
 				$user['page_total'] = 0;
 			}
 			if ($user) {
-				if ($page_number >= $page['page_total']) {
+				if ($page_number >= $user['page_total']) {
 					$result = 2;
 				} else {
 					$result = 1;