mirror of
https://github.com/Sarjuuk/aowow.git
synced 2025-11-29 15:58:16 +08:00
Emotes:
* 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:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user