Skip to content
Snippets Groups Projects
Commit 7c774146 authored by aydreeihn's avatar aydreeihn
Browse files

code cleanup + archive dept/ht fixes

parent 89990436
Branches
Tags
No related merge requests found
...@@ -526,7 +526,7 @@ class Filter { ...@@ -526,7 +526,7 @@ class Filter {
.',execorder='.db_input($vars['execorder']) .',execorder='.db_input($vars['execorder'])
.',email_id='.db_input($emailId) .',email_id='.db_input($emailId)
.',match_all_rules='.db_input($vars['match_all_rules']) .',match_all_rules='.db_input($vars['match_all_rules'])
.',stop_onmatch='.db_input(isset($vars['stop_onmatch'])?1:0) .',stop_onmatch='.db_input($vars['stop_onmatch'])
.',notes='.db_input(Format::sanitize($vars['notes'])); .',notes='.db_input(Format::sanitize($vars['notes']));
if($id) { if($id) {
......
...@@ -41,8 +41,7 @@ class FilterAction extends VerySimpleModel { ...@@ -41,8 +41,7 @@ class FilterAction extends VerySimpleModel {
return $this->_config; return $this->_config;
} }
function parseConfiguration($source, &$errors=array()) function parseConfiguration($source, &$errors=array()) {
{
if (!$source) if (!$source)
return $this->getConfiguration(); return $this->getConfiguration();
......
...@@ -191,8 +191,7 @@ implements TemplateVariable, Searchable { ...@@ -191,8 +191,7 @@ implements TemplateVariable, Searchable {
return $this->isActive(); return $this->isActive();
} }
function isActive() function isActive() {
{
return !!($this->flags & self::FLAG_ACTIVE); return !!($this->flags & self::FLAG_ACTIVE);
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment