summaryrefslogtreecommitdiff
path: root/includes/pages
diff options
context:
space:
mode:
authorIgor Scheller <igor.scheller@igorshp.de>2019-04-24 11:01:37 +0200
committermsquare <msquare@notrademark.de>2019-04-25 18:17:19 +0200
commit79c92da8c14de61dccc015f04c3900aac4bd4179 (patch)
tree7b4e0f51d2bd2508905fdc697b31a73810a1b5d5 /includes/pages
parent7c3a0c70e8d23f47287ead148c6b8682216352c6 (diff)
Formatting
```bash php-cs-fixer fix --allow-risky=yes --rules=@PSR2,psr4,mb_str_functions.php_unit_construct,php_unit_ordered_covers,trailing_comma_in_multiline_array --rules='{"array_syntax": {"syntax":"short"}}' [tests/|src/] ```
Diffstat (limited to 'includes/pages')
-rw-r--r--includes/pages/admin_user.php2
-rw-r--r--includes/pages/guest_login.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/includes/pages/admin_user.php b/includes/pages/admin_user.php
index 773238ce..a193aff7 100644
--- a/includes/pages/admin_user.php
+++ b/includes/pages/admin_user.php
@@ -77,7 +77,7 @@ function admin_user()
// Gekommen?
$html .= ' <tr><td>Gekommen</td><td>' . "\n";
- if($user_source->state->arrived) {
+ if ($user_source->state->arrived) {
$html .= _('Yes');
} else {
$html .= _('No');
diff --git a/includes/pages/guest_login.php b/includes/pages/guest_login.php
index a4bf4808..7b6eb9c1 100644
--- a/includes/pages/guest_login.php
+++ b/includes/pages/guest_login.php
@@ -150,7 +150,7 @@ function guest_register()
$valid = false;
error(__('Please enter your planned date of arrival. It should be after the buildup start date and before teardown end date.'));
}
- } else if ($enable_planned_arrival) {
+ } elseif ($enable_planned_arrival) {
$valid = false;
error(__('Please enter your planned date of arrival. It should be after the buildup start date and before teardown end date.'));
}