diff --git a/src/Appwrite/Utopia/Fetch/BodyMultipart.php b/src/Appwrite/Utopia/Fetch/BodyMultipart.php index dab7773565..c697b4e5c0 100644 --- a/src/Appwrite/Utopia/Fetch/BodyMultipart.php +++ b/src/Appwrite/Utopia/Fetch/BodyMultipart.php @@ -136,7 +136,11 @@ class BodyMultipart } $query .= $eol . $eol; - $query .= $value === false ? 0 . $eol : $value . $eol; + if ($value === false) { + $query .= 0 . $eol; + } else { + $query .= $value . $eol; + } $query .= '--' . $this->boundary; }