PMCORE-2963
This commit is contained in:
@@ -817,7 +817,7 @@ class ProcessMakerWebDav extends HTTP_WebDAV_Server
|
|||||||
if ($options["overwrite"]) {
|
if ($options["overwrite"]) {
|
||||||
$stat = $this->DELETE(array("path" => $options["dest"]
|
$stat = $this->DELETE(array("path" => $options["dest"]
|
||||||
));
|
));
|
||||||
if (($stat{0} != "2") && (substr($stat, 0, 3) != "404")) {
|
if (($stat[0] != "2") && (substr($stat, 0, 3) != "404")) {
|
||||||
return $stat;
|
return $stat;
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Reference in New Issue
Block a user