]> git.mxchange.org Git - friendica.git/blobdiff - src/Console/Config.php
When comparing config values, use strict string comparison
[friendica.git] / src / Console / Config.php
index a97574c976056de1a0b8f64011d101a5077f4cd0..3c775d43292053a58cc7ba7e580b249a3ab1584b 100644 (file)
@@ -128,7 +128,7 @@ HELP;
                                throw new RuntimeException("$cat.$key is an array and can't be set using this command.");
                        }
 
-                       if ($this->config->get($cat, $key) == $value) {
+                       if ($this->config->get($cat, $key) === $value) {
                                throw new RuntimeException("$cat.$key already set to $value.");
                        }