Quest/Breadcrumbs

* implemented https://github.com/TrinityCore/TrinityCore/commit/5ed77113b63
 * fixed some engrish
 * fixed a typo in typecasting string searches
This commit is contained in:
Sarjuuk
2020-02-23 14:12:01 +01:00
parent eaa982e5b3
commit d4c0c0535a
6 changed files with 11 additions and 13 deletions

View File

@@ -774,14 +774,6 @@ trait profilerHelper
}
}
/*
roight!
just noticed, that the filters on pages originally pointed to ?filter=<pageName>
wich probably checked for correctness of inputs and redirected the correct values as a get-request
..
well, as it is now, its working .. and you never change a running system ..
*/
abstract class Filter
{
private static $wCards = ['*' => '%', '?' => '_'];
@@ -1143,7 +1135,7 @@ abstract class Filter
else if (gettype($valid) == 'double')
$val = floatval($val);
else /* if (gettype($valid) == 'string') */
$var = strval($val);
$val = strval($val);
if ($valid == $val)
return true;