9416f89ff8a7e4d2010e703c4f336aab1fb97122

Author: AD7six

Date: 2009-04-03 20:52:08 +0200

preventing the language code from being used as a highlight term

diff --git a/controllers/revisions_controller.php b/controllers/revisions_controller.php index b1bbfe1..b358982 100755 --- a/controllers/revisions_controller.php +++ b/controllers/revisions_controller.php @@ -140,7 +140,7 @@ class RevisionsController extends AppController { } //we need to pop the lang val from the terms $terms = $this->Revision->terms(); - $terms = array_diff($terms, array($lang, $collection)); + $terms = array_diff($terms, array($lang, $collection, $defaultLang)); if ($results) { //Paginator cheating ;) maybe put it in an element in the view? $count = $this->Revision->hits_count();