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:
Sarjuuk
2016-01-13 20:47:01 +01:00
parent ff3babacb7
commit 99eb8f426b
6 changed files with 8 additions and 8 deletions

View File

@@ -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);