Merged in bugfix/PMCORE-2963 (pull request #7901)
PMCORE-2963 Approved-by: Julio Cesar Laura Avendaño
This commit is contained in:
committed by
Julio Cesar Laura Avendaño
commit
09b1af573f
@@ -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