From 0970d784ff895ca0b67cbfa79189075f78c3d729 Mon Sep 17 00:00:00 2001 From: Khushboo Verma <43381712+vermakhushboo@users.noreply.github.com> Date: Tue, 16 Jul 2024 16:10:17 +0530 Subject: [PATCH] Handle false appended to string --- docker-compose.yml | 2 +- src/Appwrite/Utopia/Fetch/BodyMultipart.php | 2 +- src/Executor/Executor.php | 1 + 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index 7be1225eaa..225ee073f7 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -851,7 +851,7 @@ services: hostname: exc1 <<: *x-logging stop_signal: SIGINT - image: openruntimes/executor:0.6.1 + image: openruntimes/executor:0.6.2 restart: unless-stopped networks: - appwrite diff --git a/src/Appwrite/Utopia/Fetch/BodyMultipart.php b/src/Appwrite/Utopia/Fetch/BodyMultipart.php index 3869150758..170de835a7 100644 --- a/src/Appwrite/Utopia/Fetch/BodyMultipart.php +++ b/src/Appwrite/Utopia/Fetch/BodyMultipart.php @@ -136,7 +136,7 @@ class BodyMultipart } $query .= $eol . $eol; - $query .= $value . $eol; + $query .= $value == false ? 0 . $eol : $value . $eol; $query .= '--' . $this->boundary; } diff --git a/src/Executor/Executor.php b/src/Executor/Executor.php index 29ed756932..72b2b9f968 100644 --- a/src/Executor/Executor.php +++ b/src/Executor/Executor.php @@ -162,6 +162,7 @@ class Executor * @param string $source * @param string $entrypoint * @param string $runtimeEntrypoint + * @param bool $logging * * @return array */