summaryrefslogtreecommitdiffstats
path: root/includes/concertlogs.php
diff options
context:
space:
mode:
Diffstat (limited to 'includes/concertlogs.php')
-rw-r--r--includes/concertlogs.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/concertlogs.php b/includes/concertlogs.php
index 8b485ca..cd0a330 100644
--- a/includes/concertlogs.php
+++ b/includes/concertlogs.php
@@ -82,7 +82,7 @@ if ( !class_exists( 'GiglogAdmin_Concertlogs' ) )
public function get_assigned_role(string $username) : ?string
{
- return array_search( $username, $this->roles );
+ return array_search( $username, $this->roles ) || NULL;
}
public function assigned_user(string $role) : ?string