From: Evan Prodromou Date: Wed, 7 Mar 2012 15:14:49 +0000 (-0600) Subject: trim() -> trimmed() X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=32008901eced574c68b7a8b7054eb4f24a547323;p=quix0rs-gnu-social.git trim() -> trimmed() --- 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)