diff --git a/includes/types/item.class.php b/includes/types/item.class.php index ac11f00c..76194265 100644 --- a/includes/types/item.class.php +++ b/includes/types/item.class.php @@ -2540,7 +2540,7 @@ class ItemListFilter extends Filter if (preg_match('/\W/i', $v)) return false; - return isset(Util::$itemFilter[$val]); + return isset(Util::$itemFilter[$v]); } } diff --git a/pages/items.php b/pages/items.php index 6e96fc87..a40eaa16 100644 --- a/pages/items.php +++ b/pages/items.php @@ -380,7 +380,7 @@ class ItemsPage extends GenericPage { case 1: $override['sl'] = $group; - $tabData['note'] = '$$WH.sprintf(LANG.lvnote_viewmoreslot, \''.$cls.'\', \''.$this->filterObj->urlize($override).'\')'; + $tabData['note'] = '$$WH.sprintf(LANG.lvnote_viewmoreslot, \''.$cls.'\', \''.$this->filterObj->getFilterString($override).'\')'; break; case 2: if ($group > 0) @@ -391,11 +391,11 @@ class ItemsPage extends GenericPage else $override['maxle'] = abs($group) - 1; - $tabData['note'] = '$$WH.sprintf(LANG.lvnote_viewmorelevel, \''.$cls.'\', \''.$this->filterObj->urlize($override).'\')'; + $tabData['note'] = '$$WH.sprintf(LANG.lvnote_viewmorelevel, \''.$cls.'\', \''.$this->filterObj->getFilterString($override).'\')'; break; case 3: if ($_ = [null, 3, 4, 5, 6, 7, 9, 10, 11][$group]) - $tabData['note'] = '$$WH.sprintf(LANG.lvnote_viewmoresource, \''.$cls.'\', \''.$this->filterObj->urlize($override, ['cr' => 128, 'crs' => $_, 'crv' => 0]).'\')'; + $tabData['note'] = '$$WH.sprintf(LANG.lvnote_viewmoresource, \''.$cls.'\', \''.$this->filterObj->getFilterString($override, ['cr' => 128, 'crs' => $_, 'crv' => 0]).'\')'; break; }