trim() -> trimmed()

This commit is contained in:
Evan Prodromou 2012-03-07 09:14:49 -06:00
parent 5160562567
commit 32008901ec
1 changed files with 2 additions and 2 deletions

View File

@ -77,7 +77,7 @@ class TrainAction extends Action
throw new ClientException(_('You cannot review spam on this site.'), 403);
}
$id = $this->trim('notice');
$id = $this->trimmed('notice');
$this->notice = Notice::staticGet('id', $id);
@ -97,7 +97,7 @@ class TrainAction extends Action
$this->filter = $filter;
$this->category = $this->trim('category');
$this->category = $this->trimmed('category');
if ($this->category !== SpamFilter::SPAM &&
$this->category !== SpamFilter::HAM)