[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Noalyss-commit] [noalyss] 06/11: Protect global
From: |
Dany De Bontridder |
Subject: |
[Noalyss-commit] [noalyss] 06/11: Protect global |
Date: |
Fri, 25 Oct 2019 18:42:51 -0400 (EDT) |
sparkyx pushed a commit to branch master
in repository noalyss.
commit 51d5dc4ea21440fb0bc65d96fd380887c0bef58f
Author: Dany De Bontridder <address@hidden>
Date: Tue Oct 22 19:22:24 2019 +0200
Protect global
---
include/history_operation.inc.php | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/include/history_operation.inc.php
b/include/history_operation.inc.php
index 50f0e11..6a64386 100644
--- a/include/history_operation.inc.php
+++ b/include/history_operation.inc.php
@@ -108,8 +108,8 @@ list($sql, $where) = $Ledger->build_search_sql($p_array);
$max_line = $cn->count_sql($sql);
$step = $_SESSION['g_pagesize'];
-$page = (isset($_GET['offset'])) ? $_GET['page'] : 1;
-$offset = (isset($_GET['offset'])) ? $_GET['offset'] : 0;
+$page = (isset($_GET['offset'])) ? $http->get('page') : 1;
+$offset = (isset($_GET['offset'])) ? $http->get('offset') : 0;
// check if number
$page=(isNumber($page)==0)?1:$page;
@@ -121,7 +121,7 @@ echo $msg;
echo $Ledger->display_search_form();
echo $bar;
echo '<form method="GET" id="fpaida" class="print">';
-echo HtmlInput::hidden("ac", $_REQUEST['ac']);
+echo HtmlInput::hidden("ac", $http->request('ac'));
echo HtmlInput::hidden('ledger_type',$ledger_type);
echo dossier::hidden();
- [Noalyss-commit] [noalyss] branch master updated (1710281 -> 0af1b71), Dany De Bontridder, 2019/10/25
- [Noalyss-commit] [noalyss] 02/11: PHPUNIT : add test folder, Dany De Bontridder, 2019/10/25
- [Noalyss-commit] [noalyss] 01/11: esthetic correct position for forgotten password, Dany De Bontridder, 2019/10/25
- [Noalyss-commit] [noalyss] 04/11: Fix bug in export_poste_csv, Dany De Bontridder, 2019/10/25
- [Noalyss-commit] [noalyss] 07/11: Task #1763: PRINTTVA export PDF , achat colonnes manquantes, Dany De Bontridder, 2019/10/25
- [Noalyss-commit] [noalyss] 06/11: Protect global,
Dany De Bontridder <=
- [Noalyss-commit] [noalyss] 10/11: New = #1765: Permettre les opérations mathématiques dans les champs numériques, Dany De Bontridder, 2019/10/25
- [Noalyss-commit] [noalyss] 08/11: Tax Summary : test, Dany De Bontridder, 2019/10/25
- [Noalyss-commit] [noalyss] 05/11: Task #0001764 : Amount , sign equals, Dany De Bontridder, 2019/10/25
- [Noalyss-commit] [noalyss] 09/11: Task #1761: Faire apparaître le moyen de paiement, Dany De Bontridder, 2019/10/25
- [Noalyss-commit] [noalyss] 03/11: PHPUNIT : acc_balance, Dany De Bontridder, 2019/10/25
- [Noalyss-commit] [noalyss] 11/11: Merge branch 'dev7102', Dany De Bontridder, 2019/10/25