diff --git a/account.php b/account.php index a794c16..85693a7 100644 --- a/account.php +++ b/account.php @@ -509,6 +509,7 @@ function LoadFromDB() } function Render() { + global $AWARDSSUGGESTIONS_EVENTS; global $AWARDSSUGGESTIONS_CATEGORIES; if (!$this->votes) { @@ -524,8 +525,11 @@ function Render() echo " \n"; foreach($this->votes as $v) { + $category = $AWARDSSUGGESTIONS_CATEGORIES[$v->categoryID]; + $event = $AWARDSSUGGESTIONS_EVENTS[$category->eventID]; + echo " \n"; - echo " "._html($AWARDSSUGGESTIONS_CATEGORIES[$v->categoryID]->name)."\n"; + echo " "._html($event->name)." "._html($category->name)."\n"; echo " ".$v->prod->RenderSingleRowShort(). "\n"; echo " \n"; }