Skip to content

Commit 0481918

Browse files
authored
Merge pull request #35 from CodesVault/fix/password-error
password error while using special character issue fix
2 parents e5a074f + b7fbdf2 commit 0481918

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "codesvault/howdy-qb",
33
"description": "Mysql Query Builder for WordPress",
4-
"version": "1.6.3",
4+
"version": "1.6.4",
55
"minimum-stability": "stable",
66
"scripts": {
77
"test": "phpunit",

src/Connect.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ public static function pdo()
1919
$host = htmlspecialchars($configs->dbhost, ENT_QUOTES);
2020
$dbname = htmlspecialchars($configs->dbname, ENT_QUOTES);
2121
$user = htmlspecialchars($configs->dbuser, ENT_QUOTES);
22-
$password = htmlspecialchars($configs->dbpassword, ENT_QUOTES);
22+
$password = $configs->dbpassword;
2323
$dns = "mysql:host=$host;dbname=$dbname";
2424

2525
try {

0 commit comments

Comments
 (0)