summaryrefslogtreecommitdiff
path: root/includes/controller/user_driver_licenses_controller.php
diff options
context:
space:
mode:
authormsquare <msquare@notrademark.de>2016-11-15 16:28:20 +0100
committermsquare <msquare@notrademark.de>2016-11-15 16:28:20 +0100
commitec6016cd38fc5ce6455cace6ffbc703f78f31096 (patch)
tree961d5d5e90d25c807b77facba897ef6628298d50 /includes/controller/user_driver_licenses_controller.php
parent19d5d68d82232d1047787737795a21bd79f9be95 (diff)
reduce complexity of menu and hints
Diffstat (limited to 'includes/controller/user_driver_licenses_controller.php')
-rw-r--r--includes/controller/user_driver_licenses_controller.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/includes/controller/user_driver_licenses_controller.php b/includes/controller/user_driver_licenses_controller.php
index a76d5507..fc2f4916 100644
--- a/includes/controller/user_driver_licenses_controller.php
+++ b/includes/controller/user_driver_licenses_controller.php
@@ -11,7 +11,7 @@ function user_driver_license_required_hint() {
// User has already entered data, no hint needed.
if ($user_driver_license != null) {
- return '';
+ return null;
}
foreach ($angeltypes as $angeltype) {
@@ -20,7 +20,7 @@ function user_driver_license_required_hint() {
}
}
- return '';
+ return null;
}
/**