1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-19 04:41:53 +02:00

Code cleanup. Incompatible plugin alert now links directly to uninstall page for each plugin found.

This commit is contained in:
Cameron
2020-06-26 13:58:59 -07:00
parent 30db97cbac
commit a6a98a82ad
11 changed files with 40 additions and 38 deletions

View File

@@ -50,8 +50,8 @@ class e_search
$this->bullet = ''; // Use CSS instead.
preg_match_all('/(\W?".*?")|(.*?)(\s|$)/', $this->query, $boolean_keys);
sort($this -> keywords['split'] = array_unique(array_filter(str_replace('"', '', array_merge($boolean_keys[1], $boolean_keys[2])))));
$this->keywords['split'] = array_unique(array_filter(str_replace('"', '', array_merge($boolean_keys[1], $boolean_keys[2]))));
sort($this->keywords['split']);
foreach ($this -> keywords['split'] as $k_key => $key)
{