From 9f1c5a655e20e5b7f6a873c444ffa0111821bd0b Mon Sep 17 00:00:00 2001 From: Daniel Kraus Date: Tue, 17 Oct 2017 19:59:45 +0200 Subject: [PATCH] Substitute other CHAR_LENGTH occurrence. Addresses #35. --- includes/Targets.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/Targets.php b/includes/Targets.php index e88d042..bcb4d43 100644 --- a/includes/Targets.php +++ b/includes/Targets.php @@ -141,7 +141,7 @@ class Targets { array_filter( array( 'page_namespace IN ' . $namespacesClause, - 'CHAR_LENGTH(page_title) >= ' . $this->config->minimumTitleLength, + $this->charLength() . '(page_title) >= ' . $this->config->minimumTitleLength, $blackList, ) ),