Skip to content

Commit

Permalink
using the new method to do the same
Browse files Browse the repository at this point in the history
  • Loading branch information
dogmatic69 committed Oct 13, 2012
1 parent a32095f commit 18adc01
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions Core/Filter/View/Helper/FilterHelper.php
Expand Up @@ -114,9 +114,7 @@ public function clear($filter, $div = false) {
$text = explode('.', current(explode(':', $_f)));
$text = (count($text ) > 1) ? $text[1] : $text[0];

if(strpos($text, $this->request->params['plugin']) === 0) {
$text = substr_replace($text, '', 0, strlen($this->request->params['plugin']));
}
$text = $this->stripPluginName($text);
if(substr($text, -3) == '_id') {
$text = substr($text, 0, -3);
}
Expand Down

0 comments on commit 18adc01

Please sign in to comment.