mirror of
https://gitlab.com/davical-project/davical.git
synced 2026-02-23 05:03:38 +00:00
If we can't split the path then default the username from the session.
This commit is contained in:
parent
2d456cadd5
commit
7736e01a0a
@ -118,7 +118,7 @@ class CalDAVPrincipal
|
||||
|
||||
if ( $path == '/' || $path == '' ) {
|
||||
dbg_error_log( "principal", "No useful path split possible" );
|
||||
return false;
|
||||
return $session->username;
|
||||
}
|
||||
|
||||
$path_split = explode('/', $path );
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user