From 32008901eced574c68b7a8b7054eb4f24a547323 Mon Sep 17 00:00:00 2001 From: Evan Prodromou Date: Wed, 7 Mar 2012 09:14:49 -0600 Subject: [PATCH] trim() -> trimmed() --- train.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/train.php b/train.php index 9b6a6a746d..3a89c8c6bc 100644 --- a/train.php +++ b/train.php @@ -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) -- 2.39.5