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:
parent
3b646644c0
commit
9fa812b35d
8 changed files with 33 additions and 15 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue