mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-23 00:13:35 +01:00
fixed PHP 5.4 Warning: Illegal string offset "name" on line 793
This commit is contained in:
parent
1df0ef843a
commit
f80477e938
@ -790,7 +790,7 @@ class HTTP_WebDAV_Server
|
||||
|
||||
// check if property exists in result
|
||||
foreach ($file["props"] as &$prop) {
|
||||
if ( $reqprop["name"] == $prop["name"]
|
||||
if (is_array($prop) && $reqprop["name"] == $prop["name"]
|
||||
&& @$reqprop["xmlns"] == $prop["ns"]) {
|
||||
$found = true;
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user