Fix: Remove 'alpha' argument to GETPOSTINT()

# Fix: Remove 'alpha' argument to GETPOSTINT()

Remove 'alpha' argument to GETPOSTINT() which does not take that.
The targetted values are ints in this context.
This commit is contained in:
MDW 2024-03-26 12:17:16 +01:00
parent 8c0194e796
commit 13262e18d0
No known key found for this signature in database

View file

@ -2,6 +2,7 @@
/* Copyright (C) 2006 Andre Cianfarani <acianfa@free.fr>
* Copyright (C) 2005-2012 Regis Houssin <regis.houssin@inodbox.com>
* Copyright (C) 2007-2019 Laurent Destailleur <eldy@users.sourceforge.net>
* Copyright (C) 2024 MDW <mdeweerd@users.noreply.github.com>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@ -49,8 +50,8 @@ $outjson = (GETPOSTINT('outjson') ? GETPOSTINT('outjson') : 0);
$action = GETPOST('action', 'aZ09');
$id = GETPOSTINT('id');
$excludeids = GETPOST('excludeids', 'intcomma');
$showtype = GETPOSTINT('showtype', 'alpha');
$showcode = GETPOSTINT('showcode', 'alpha');
$showtype = GETPOSTINT('showtype');
$showcode = GETPOSTINT('showcode');
$object = new Societe($db);
if ($id > 0) {