Fix warning

This commit is contained in:
Laurent Destailleur 2023-08-06 13:19:34 +02:00
parent c1b0f187bc
commit 38be78e87f
3 changed files with 10 additions and 5 deletions

View File

@ -1463,7 +1463,7 @@ if ($action == 'updatecss' && $usercanedit) {
$object->virtualhost = $tmpvirtualhost;
$object->lang = GETPOST('WEBSITE_LANG', 'aZ09');
$object->otherlang = join(',', $arrayotherlang);
$object->use_manifest = GETPOST('use_manifest', 'alpha');
$object->use_manifest = GETPOSTINT('use_manifest');
$result = $object->update($user);
if ($result < 0) {

View File

@ -24,14 +24,12 @@
/**
* Prepare admin pages header
*
* @return array
* @return array Array with list of tab entries
*/
function zapierAdminPrepareHead()
{
global $langs, $conf;
$langs->load("zapier");
$h = 0;
$head = array();

View File

@ -50,12 +50,19 @@ parameters:
- '#Undefined variable: \$form#'
- '#Result of function fieldList#'
- '#Caught class Stripe#'
- '#Function llxHeader invoked with#'
- '#Function llxHeaderVierge invoked with#'
- '#If condition is always true#'
- '#always exists and is not falsy#'
- '#has no return type specified#'
- '#expression is always#'
- '#is always true#'
- '#is always fal#'
- '#always exists and is not nullable#'
- '#PHPDoc tag @return has invalid value#'
- '#type has no value type specified in iterable type array#'
- '#with no value type specified in iterable type array#'
- '#Empty array passed to foreach#'
- '#in isset\(\) is not nullable#'
internalErrorsCountLimit: 50
cache:
nodesByFileCountMax: 512