summaryrefslogtreecommitdiff
path: root/actions/tagother.php
diff options
context:
space:
mode:
authorEvan Prodromou <evan@prodromou.name>2008-11-20 19:33:38 -0500
committerEvan Prodromou <evan@prodromou.name>2008-11-20 19:33:38 -0500
commit909b0d93111b9e6f1ccaf56075b8bbe433c482fb (patch)
treef1f85ee5dcd9912e093a3a2bcf288181ccbe64f5 /actions/tagother.php
parentd17d2798725909108f8fe11eb9574ceb6c912907 (diff)
fix some stuff with tagother link
darcs-hash:20081121003338-84dde-45745ca353eb5a68627335115d2993fd15a38498.gz
Diffstat (limited to 'actions/tagother.php')
-rw-r--r--actions/tagother.php6
1 files changed, 3 insertions, 3 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);