From 3f72b0c1d7ecfbece85b3c2ae38b1f310ab9cd53 Mon Sep 17 00:00:00 2001 From: ozh Date: Sat, 4 Feb 2017 20:08:40 +0100 Subject: [PATCH] Fix curly quote in comment Didn't print too well in editors or on the web --- admin/index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/admin/index.php b/admin/index.php index 100d7c2..2c06474 100644 --- a/admin/index.php +++ b/admin/index.php @@ -59,7 +59,7 @@ $where .= " AND CONCAT_WS('',`keyword`,`url`,`title`,`ip`) LIKE ('$search')"; // Search across all fields. The resulting SQL will be something like: // SELECT * FROM `yourls_url` WHERE CONCAT_WS('',`keyword`,`url`,`title`,`ip`) LIKE ("%ozh%") - // CONCAT_WS because CONCAT('foo', 'bar’, NULL) = NULL. NULL wins. Not sure if values can be NULL now or in the future, so better safe. + // CONCAT_WS because CONCAT('foo', 'bar', NULL) = NULL. NULL wins. Not sure if values can be NULL now or in the future, so better safe. // TODO: pay attention to this bit when the DB schema changes } else { $where .= " AND `$search_in` LIKE ('$search')"; -- 2.45.0