Fix user queries with labels (#3285)

Before user queries with labels were not translated. Actually, it was not
even processed.
Now those user queries are translated properly.

See #3215
This commit is contained in:
Alexis Degrugillier
2020-12-26 06:50:09 -05:00
committed by GitHub
parent 46cb89adf8
commit 4abb30228b
19 changed files with 20 additions and 3 deletions

View File

@@ -76,7 +76,7 @@ class FreshRSS_UserQuery {
*/
private function parseGet($get) {
$this->get = $get;
if (preg_match('/(?P<type>[acfs])(_(?P<id>\d+))?/', $get, $matches)) {
if (preg_match('/(?P<type>[acfst])(_(?P<id>\d+))?/', $get, $matches)) {
switch ($matches['type']) {
case 'a':
$this->parseAll();