mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-14 18:48:21 -07:00
fix: Set $datastore->enqueue
before $datastore->get
(#1937)
This commit is contained in:
parent
74d3b76f73
commit
bf328dd69e
1 changed files with 2 additions and 2 deletions
|
@ -20,10 +20,10 @@ if (!$mode = (string)$this->request['mode']) {
|
|||
$html = '';
|
||||
switch ($mode) {
|
||||
case 'birthday_week':
|
||||
$stats = $datastore->get('stats');
|
||||
$datastore->enqueue([
|
||||
'stats'
|
||||
]);
|
||||
$stats = $datastore->get('stats');
|
||||
|
||||
$users = [];
|
||||
|
||||
|
@ -38,10 +38,10 @@ switch ($mode) {
|
|||
break;
|
||||
|
||||
case 'birthday_today':
|
||||
$stats = $datastore->get('stats');
|
||||
$datastore->enqueue([
|
||||
'stats'
|
||||
]);
|
||||
$stats = $datastore->get('stats');
|
||||
|
||||
$users = [];
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue