diff --git a/models/SolrSearchField.php b/models/SolrSearchField.php index 7fdae282..04ca19c7 100644 --- a/models/SolrSearchField.php +++ b/models/SolrSearchField.php @@ -159,7 +159,7 @@ public function getOriginalLabel() * * @return string The facet label. */ - public function beforeSave() + public function beforeSave($args) { $label = trim($this->label); if (empty($label)) $this->label = $this->getOriginalLabel();