PMCORE-2963

This commit is contained in:
Andrea Adamczyk
2021-04-26 11:05:04 -04:00
parent 3de33b118d
commit af4ceceaf9

View File

@@ -817,7 +817,7 @@ class ProcessMakerWebDav extends HTTP_WebDAV_Server
if ($options["overwrite"]) {
$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;
}
} else {