From 2d107e3ed999bfbc4245c3bbdfb5e21024dcc5ed Mon Sep 17 00:00:00 2001 From: Torsten Dittmann Date: Fri, 28 Aug 2020 23:58:31 +0200 Subject: [PATCH] revert whitespace removal --- src/Appwrite/Database/Adapter/MySQL.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Appwrite/Database/Adapter/MySQL.php b/src/Appwrite/Database/Adapter/MySQL.php index 6b2114f145..3d966d165b 100644 --- a/src/Appwrite/Database/Adapter/MySQL.php +++ b/src/Appwrite/Database/Adapter/MySQL.php @@ -191,7 +191,7 @@ class MySQL extends Adapter $st = $this->getPDO()->prepare('INSERT INTO `'.$this->getNamespace().'.database.unique` SET `key` = :key; '); - + $st->bindValue(':key', \md5($data['$collection'].':'.$key.'='.$value), PDO::PARAM_STR); if (!$st->execute()) {