← All changes
|
includes/Admin/FinancialManagement/FinancialManagementHistory.php
+0
-5
1.10.23
→
1.10.22
View file →
| @@ -178,13 +178,8 @@ | ||
| 178 | 178 | |
| 179 | 179 | $activePage = isset($_POST['active_page']) ? max(1, absint(wp_unslash($_POST['active_page']))) : 1; |
| 180 | 180 | $historyPage = isset($_POST['history_page']) ? max(1, absint(wp_unslash($_POST['history_page']))) : 1; |
| 181 | 181 | $viewData = self::buildViewData($activePage, $historyPage); |
| 182 | - if ((int) ($viewData['historyResult']['status_code'] ?? 0) === 403) { | |
| 183 | - wp_send_json_error([ | |
| 184 | - 'message' => 'برای دریافت صحیح اطلاعات، مجدداً احراز هویت را انجام دهید.', | |
| 185 | - ], 403); | |
| 186 | - } | |
| 187 | 182 | $currentPage = max(1, (int) ($viewData['historyData']['current_page'] ?? $historyPage)); |
| 188 | 183 | |
| 189 | 184 | wp_send_json_success([ |
| 190 | 185 | 'html' => self::render($viewData), |