* display empty listview if no data
Setup
 * do not pass null instead of expected type array
 * added setup step for emotes to --firstrun *d'oh!*
 * fixed a wrong constant
This commit is contained in:
Sarjuuk
2015-08-10 00:04:33 +02:00
parent 3c69284e15
commit bd2e0ccada
6 changed files with 10 additions and 14 deletions

View File

@@ -25,16 +25,11 @@ class EmotesPage extends GenericPage
protected function generateContent()
{
$emotes = new EmoteList();
if (!$emotes->error)
{
$this->lvTabs[] = array(
'file' => 'emote',
'data' => $emotes->getListviewData(),
'params' => []
);
};
$this->lvTabs[] = array(
'file' => 'emote',
'data' => (new EmoteList())->getListviewData(),
'params' => []
);
}
protected function generateTitle()