diff options
| author | 2016-09-06 09:15:32 +0200 | |
|---|---|---|
| committer | 2016-09-06 09:15:32 +0200 | |
| commit | 9f04e2bf3246ec5a65280908f017533d6f622a88 (patch) | |
| tree | 4436eef7f9502fd75d2b3b45fafce1e62bb30da3 /app/Models/EntryDAO.php | |
| parent | 2fa5ef354c82b036e146c178edf495bf8e08d0ee (diff) | |
MySQL use unhex instead of hex litteral
X' syntax did not work well with bind values
Diffstat (limited to 'app/Models/EntryDAO.php')
| -rw-r--r-- | app/Models/EntryDAO.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Models/EntryDAO.php b/app/Models/EntryDAO.php index d39f0237c..159f9673b 100644 --- a/app/Models/EntryDAO.php +++ b/app/Models/EntryDAO.php @@ -11,7 +11,7 @@ class FreshRSS_EntryDAO extends Minz_ModelPdo implements FreshRSS_Searchable { } public function sqlHexDecode($x) { - return 'X' . $x; + return 'unhex(' . $x . ')'; } public function sqlHexEncode($x) { |
