mirror of
https://github.com/Sarjuuk/aowow.git
synced 2025-11-29 15:58:16 +08:00
misc fixes:
spell: - removed weired break from tooltips - fixed time units being omitted by intval and subsequent cast to int achievement: - casting id to int to avoid string-comparison in mysql (sped up load a lot) localization: - fixed malformed file infobox: - show video-options only when logged in filter: - allow underscores in search (icon search) search: - really fixed prepended quality for items
This commit is contained in:
@@ -4,7 +4,7 @@ if(!defined('AOWOW_REVISION'))
|
||||
|
||||
abstract class Filter
|
||||
{
|
||||
private static $pattern = "/[^\p{L}0-9\s\-\'\?\*]/ui";// delete any char not in unicode, number, hyphen, single quote or common wildcard
|
||||
private static $pattern = "/[^\p{L}0-9\s_\-\'\?\*]/ui";// delete any char not in unicode, number, hyphen, single quote or common wildcard
|
||||
private static $wildcards = ['*' => '%', '?' => '_'];
|
||||
private static $criteria = ['cr', 'crs', 'crv']; // [cr]iterium, [cr].[s]ign, [cr].[v]alue
|
||||
|
||||
|
||||
Reference in New Issue
Block a user