1
0
Fork 0

Rewrites:

- converted single-line if() block to multi-line and with curly braces
- "imported" SPL classes to have unified code style
- always initialize your variables ... :-/
- added some empty lines/spaces for better readability

Signed-off-by: Roland Häder <roland@mxchange.org>
This commit is contained in:
Roland Häder 2019-02-19 01:56:41 +01:00
commit 9fa812b35d
No known key found for this signature in database
GPG key ID: B72F8185C6C7BD78
8 changed files with 33 additions and 15 deletions

View file

@ -1565,7 +1565,7 @@ function admin_page_site(App $a)
$storage_form = [];
if (!is_null($storage_current_backend) && $storage_current_backend != "") {
foreach($storage_current_backend::getOptions() as $name => $info) {
foreach ($storage_current_backend::getOptions() as $name => $info) {
$type = $info[0];
$info[0] = $storage_form_prefix . '_' . $name;
$info['type'] = $type;