mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 06:30:59 +01:00
fix regular expression
This commit is contained in:
parent
6b1addce9f
commit
50ce55a93a
@ -1340,7 +1340,7 @@ class vfs_stream_wrapper implements iface_stream_wrapper
|
||||
if (!isset($ret))
|
||||
{
|
||||
$matches = null;
|
||||
$ret = preg_match('/?(.*&)?ro=([^&]+)/', $url, $matches) && $matches[1];
|
||||
$ret = preg_match('/\?(.*&)?ro=([^&]+)/', $url, $matches) && $matches[2];
|
||||
}
|
||||
return $ret;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user