diff options
-rw-r--r-- | actions/tagother.php | 6 | ||||
-rw-r--r-- | lib/profilelist.php | 4 |
2 files changed, 5 insertions, 5 deletions
diff --git a/actions/tagother.php b/actions/tagother.php index d4be3dd33..a5129faee 100644 --- a/actions/tagother.php +++ b/actions/tagother.php @@ -37,12 +37,12 @@ class TagotherAction extends Action { } else { $id = $this->trimmed('id'); if (!$id) { - $this->client_error(_('No profile to tag.')); + $this->client_error(_('No id argument.')); return; } $profile = Profile::staticGet('id', $id); - if ($profile) { - $this->client_error(_('No profile to tag.')); + if (!$profile) { + $this->client_error(_('No profile with that ID.')); return; } $this->show_form($profile); diff --git a/lib/profilelist.php b/lib/profilelist.php index 7fb0eb2d3..6ecb9c923 100644 --- a/lib/profilelist.php +++ b/lib/profilelist.php @@ -150,8 +150,8 @@ class ProfileList { } common_element('a', array('href' => common_local_url('tagother', - array('id' => $this->profile->id, - 'class' => 'tagother'))), + array('id' => $this->profile->id)), + 'class' => 'tagother'), _('Tag')); } |