mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-03 12:39:25 +01:00
Make sure stat url is present before changing it. Fixes error loading mounted etemplates.
This commit is contained in:
parent
320816b4cb
commit
f5863852e4
@ -1007,7 +1007,7 @@ class StreamWrapper implements StreamWrapperIface
|
||||
{
|
||||
$stat['mode'] &= ~0222;
|
||||
}
|
||||
if($query && strpos($stat['url'],'?'.$query)===false)
|
||||
if($stat['url'] && $query && strpos($stat['url'],'?'.$query)===false)
|
||||
{
|
||||
$stat['url'] .= '?'.$query;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user