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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user