mirror of
https://github.com/Sarjuuk/aowow.git
synced 2025-11-29 15:58:16 +08:00
Misc/Fixes
* fixed typo preventing management of custom weight scales * added forgotten GET-Parameter to sanitization, preventing rating of comments * avoid hardcoding locales * do not show tooltip on BUTTON_WOWHEAD
This commit is contained in:
@@ -26,7 +26,6 @@ $reqDBC = ['itemset'];
|
||||
|
||||
function itemset()
|
||||
{
|
||||
$locales = [LOCALE_EN, LOCALE_FR, LOCALE_DE, LOCALE_ES, LOCALE_RU];
|
||||
$setToHoliday = array (
|
||||
761 => 141, // Winterveil
|
||||
762 => 372, // Brewfest
|
||||
@@ -285,7 +284,7 @@ function itemset()
|
||||
/* get name & description */
|
||||
/**************************/
|
||||
|
||||
foreach ($locales as $loc)
|
||||
foreach (array_keys(array_filter(Util::$localeStrings)) as $loc)
|
||||
{
|
||||
User::useLocale($loc);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user