forked from extern/egroupware
"concat with query was not working if path ended in a slash"
This commit is contained in:
parent
396b1212ad
commit
f128866a37
@ -936,7 +936,7 @@ class egw_vfs extends vfs_stream_wrapper
|
|||||||
static function concat($url,$relative)
|
static function concat($url,$relative)
|
||||||
{
|
{
|
||||||
list($url,$query) = explode('?',$url,2);
|
list($url,$query) = explode('?',$url,2);
|
||||||
return substr($url,-1) == '/' ? $url.$relative : $url.'/'.$relative.($query ? '?'.$query : '');
|
return (substr($url,-1) == '/' ? $url.$relative : $url.'/'.$relative).($query ? '?'.$query : '');
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user