Differences From Artifact [d259486866]:

To Artifact [ed8d36c24a]:


54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
    {
        throw new UserException('Recherche inconnue ou invalide');
    }

    $query = $r->query;
    $order = $r->order;
    $desc = $r->desc;
    $limit = $r->limit;

    $tpl->assign('recherche', $r);
}

if (f('q') !== null)
{
    $query = json_decode(f('q'), true);







|







54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
    {
        throw new UserException('Recherche inconnue ou invalide');
    }

    $query = $r->query;
    $order = $r->order;
    $desc = $r->desc;
    $limit = (int) f('limit') ?: $r->limit;

    $tpl->assign('recherche', $r);
}

if (f('q') !== null)
{
    $query = json_decode(f('q'), true);