dever 7 lat temu
rodzic
commit
133a7cdb57
1 zmienionych plików z 1 dodań i 1 usunięć
  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;