diff --git a/src/Appwrite/Database/Database.php b/src/Appwrite/Database/Database.php index 3005a3eeca..c620e45fd8 100644 --- a/src/Appwrite/Database/Database.php +++ b/src/Appwrite/Database/Database.php @@ -553,6 +553,10 @@ class Database */ static protected function encodeAttribute(string $name, $value) { + if (!self::$statusFilters) { + return $value; + } + if (!isset(self::$filters[$name])) { return $value; throw new Exception('Filter not found');