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