1
0
mirror of https://github.com/php/web-php.git synced 2026-03-23 23:02:13 +01:00

Enhancement: Enable indentation_type fixer

Closes GH-622.
This commit is contained in:
Andreas Möller
2022-07-11 20:34:20 +02:00
committed by GitHub
parent ba92fc90a2
commit f3585d9bdf
18 changed files with 475 additions and 474 deletions

View File

@@ -20,12 +20,12 @@ foreach ($vars as $varname) {
}
}
$vars = array(
'type', 'country', 'category', 'email', 'url', 'ldesc', 'sdesc'
'type', 'country', 'category', 'email', 'url', 'ldesc', 'sdesc'
);
foreach($vars as $varname) {
if (!isset($_POST[$varname])) {
$_POST[$varname] = "";
}
if (!isset($_POST[$varname])) {
$_POST[$varname] = "";
}
}
// We need to process some form data