input->get('view', 'index', 'word'); $layout = $this->input->get('layout', 'index', 'word'); $f_id = $this->input->get('filter_id', null, 'int'); // Check for edit form. if ($view == 'filter' && $layout == 'edit' && !$this->checkEditId('com_finder.edit.filter', $f_id)) { // Somehow the person just went to the form - we don't allow that. $this->setError(JText::sprintf('JLIB_APPLICATION_ERROR_UNHELD_ID', $f_id)); $this->setMessage($this->getError(), 'error'); $this->setRedirect(JRoute::_('index.php?option=com_finder&view=filters', false)); return false; } parent::display(); return $this; } }