From ac2c9d1c71ff255e8f7592f462447ce778ca538d Mon Sep 17 00:00:00 2001 From: michu2k Date: Sun, 30 Sep 2018 12:58:26 +0200 Subject: [PATCH 1/2] Fixed a bug with decimal values in the inputs --- inc/core/lib/QueryBuilder.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inc/core/lib/QueryBuilder.php b/inc/core/lib/QueryBuilder.php index c8c70f8..d5e5d80 100644 --- a/inc/core/lib/QueryBuilder.php +++ b/inc/core/lib/QueryBuilder.php @@ -874,7 +874,7 @@ class QueryBuilder $st = static::$db->prepare($sql); foreach ($binds as $key => $bind) { $pdo_param = \PDO::PARAM_STR; - if (is_numeric($bind)) { + if (is_int($bind)) { $pdo_param = \PDO::PARAM_INT; } $st->bindValue($key+1, $bind, $pdo_param); From 50421bfe1303787032f0d37cc8467310da5da7dc Mon Sep 17 00:00:00 2001 From: michu2k Date: Sun, 30 Sep 2018 13:17:08 +0200 Subject: [PATCH 2/2] Update ReadMe.md --- ReadMe.md | 1 + 1 file changed, 1 insertion(+) diff --git a/ReadMe.md b/ReadMe.md index 0179d96..651c840 100644 --- a/ReadMe.md +++ b/ReadMe.md @@ -53,3 +53,4 @@ We are looking for human resources, especially translators who will help us reac * **[Giuseppe Marino](mailto:info@gpmdev.it)** - Italian translation of CMS * **[Javier Igal](mailto:javier@igal.es)** - Spanish translation of website and CMS * **[RJ Adriaansen](https://github.com/rjadr)** - Dutch translation of CMS +* **[Komputronika](https://github.com/komputronika)** - Indonesian translation of CMS