Skip to content

Commit 1ca7e9d

Browse files
committed
Fix cancel with foreign languages
1 parent dd0eabe commit 1ca7e9d

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

htdocs/alumni/survey_agenda.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@
8585
$id = GETPOST('id', 'int');
8686
$ref = GETPOST('ref', 'alpha');
8787
$action = GETPOST('action', 'aZ09');
88-
$cancel = GETPOST('cancel', 'aZ09');
88+
$cancel = GETPOST('cancel', 'alpha');
8989
$contextpage = GETPOST('contextpage', 'aZ') ? GETPOST('contextpage', 'aZ') : str_replace('_', '', basename(dirname(__FILE__)).basename(__FILE__, '.php')); // To manage different context of search
9090
$backtopage = GETPOST('backtopage', 'alpha');
9191

htdocs/alumni/survey_card.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@
9292

9393
$action = GETPOST('action', 'aZ09');
9494
$confirm = GETPOST('confirm', 'alpha');
95-
$cancel = GETPOST('cancel', 'aZ09');
95+
$cancel = GETPOST('cancel', 'alpha');
9696
$contextpage = GETPOST('contextpage', 'aZ') ? GETPOST('contextpage', 'aZ') : str_replace('_', '', basename(dirname(__FILE__)).basename(__FILE__, '.php')); // To manage different context of search
9797
$backtopage = GETPOST('backtopage', 'alpha'); // if not set, a default page will be used
9898
$backtopageforcancel = GETPOST('backtopageforcancel', 'alpha'); // if not set, $backtopage will be used

htdocs/alumni/survey_note.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@
8585
$id = GETPOST('id', 'int');
8686
$ref = GETPOST('ref', 'alpha');
8787
$action = GETPOST('action', 'aZ09');
88-
$cancel = GETPOST('cancel', 'aZ09');
88+
$cancel = GETPOST('cancel', 'alpha');
8989
$backtopage = GETPOST('backtopage', 'alpha');
9090

9191
// Initialize technical objects

htdocs/ovh/sms_member.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@
5555
// Get parameters
5656
$id = GETPOST('id', 'int');
5757
$action = GETPOST('action', 'aZ09');
58-
$cancel = GETPOST('cancel', 'aZ09');
58+
$cancel = GETPOST('cancel', 'alpha');
5959
$mesg='';
6060

6161
// Protection if external user

htdocs/ovh/sms_thirdparty.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@
5454
// Get parameters
5555
$socid = GETPOST('socid', 'int')?GETPOST('socid', 'int'):GETPOST('id', 'int');
5656
$action = GETPOST('action', 'aZ09');
57-
$cancel = GETPOST('cancel', 'aZ09');
57+
$cancel = GETPOST('cancel', 'alpha');
5858
$mesg='';
5959

6060
// Protection if external user

0 commit comments

Comments
 (0)