mirror of
https://github.com/wallabag/wallabag.git
synced 2024-11-01 06:39:18 +00:00
Merge branch 'dev' of github.com:wallabag/wallabag into dev
This commit is contained in:
commit
aa245deedc
1 changed files with 2 additions and 1 deletions
|
@ -395,7 +395,8 @@ class Poche
|
||||||
case 'random':
|
case 'random':
|
||||||
Tools::logm('get a random article');
|
Tools::logm('get a random article');
|
||||||
if ($this->store->getRandomId($this->user->getId())) {
|
if ($this->store->getRandomId($this->user->getId())) {
|
||||||
$id = $this->store->getRandomId($this->user->getId())[0];
|
$id_array = $this->store->getRandomId($this->user->getId());
|
||||||
|
$id = $id_array[0];
|
||||||
Tools::redirect('?view=view&id=' . $id[0]);
|
Tools::redirect('?view=view&id=' . $id[0]);
|
||||||
Tools::logm('got the article with id ' . $id[0]);
|
Tools::logm('got the article with id ' . $id[0]);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue