diff options
| author | noackorama <noackorama@gmail.com> | 2022-06-01 17:22:07 +0200 |
|---|---|---|
| committer | noackorama <noackorama@gmail.com> | 2022-06-01 17:22:07 +0200 |
| commit | ba5721c58ef8010ad268c5e0433515c1cb6cf86e (patch) | |
| tree | cb28878cdfcaf708b9783398b1deede2fe1e9fd0 | |
| parent | cec0fa917e2d28d462aeeed1c7c300543fbe925e (diff) | |
backport changes in SearchWidget from #394 to get #1115 fixedv5.0.1
| -rw-r--r-- | lib/classes/sidebar/SearchWidget.php | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/lib/classes/sidebar/SearchWidget.php b/lib/classes/sidebar/SearchWidget.php index 39bf1ee..2b7979e 100644 --- a/lib/classes/sidebar/SearchWidget.php +++ b/lib/classes/sidebar/SearchWidget.php @@ -35,24 +35,6 @@ class SearchWidget extends SidebarWidget } /** - * Sets the id for the form element. - */ - public function setId($id) - { - $this->id = $id; - } - - /** - * Returns the id for the form element. - * - * @return mixed String containing the id or null if no id has been set. - */ - public function getId() - { - return $this->id; - } - - /** * Sets the request method used for the form. */ public function setMethod($method) @@ -143,7 +125,6 @@ class SearchWidget extends SidebarWidget $this->template_variables['url_params'] = $query_params; $this->template_variables['method'] = $this->method; - $this->template_variables['id'] = $this->id; foreach ($this->needles as $index => $needle) { if ($needle['quick_search']) { |
