[CORE][ROUTER] Fix wrong parameter in all/:tag by XRevan86
This commit is contained in:
parent
11dc170ead
commit
0a4eeb89da
@ -32,7 +32,7 @@ class ShowprofiletagAction extends ShowstreamAction
|
||||
{
|
||||
$tag = common_canonical_tag($this->arg('tag'));
|
||||
try {
|
||||
$this->peopletag = Profile_list::getByPK(array('tagger' => $this->target->getID(), 'tag' => $tag));
|
||||
$this->peopletag = Profile_list::getByPK(['tagger' => $this->target->getID(), 'tag' => $tag]);
|
||||
} catch (NoResultException $e) {
|
||||
// TRANS: Client error displayed trying to reference a non-existing list.
|
||||
throw new ClientException('No such list.');
|
||||
|
@ -924,7 +924,7 @@ class Router
|
||||
|
||||
$m->connect('all/:tag',
|
||||
array('action' => 'showprofiletag',
|
||||
'nickname' => $nickname,
|
||||
'tagger' => $nickname,
|
||||
'tag' => self::REGEX_TAG));
|
||||
|
||||
foreach (array('subscriptions', 'subscribers') as $a) {
|
||||
|
Loading…
Reference in New Issue
Block a user