mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-27 00:58:55 +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))
|
if (!isset($ret))
|
||||||
{
|
{
|
||||||
$matches = null;
|
$matches = null;
|
||||||
$ret = preg_match('/?(.*&)?ro=([^&]+)/', $url, $matches) && $matches[1];
|
$ret = preg_match('/\?(.*&)?ro=([^&]+)/', $url, $matches) && $matches[2];
|
||||||
}
|
}
|
||||||
return $ret;
|
return $ret;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user