From cbf7147bdf6c4a8923d5f02d00b09352db0b1850 Mon Sep 17 00:00:00 2001 From: jbh Date: Fri, 16 Mar 2018 17:25:30 +0100 Subject: [PATCH] Stricts standards fix for beforeSave avoid Error: Declaration of SolrSearchField::beforeSave() should be compatible with Omeka_Record_AbstractRecord::beforeSave() --- models/SolrSearchField.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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();