diff options
author | Michael Große <grosse@cosmocode.de> | 2018-03-27 20:16:32 +0200 |
---|---|---|
committer | Michael Große <grosse@cosmocode.de> | 2018-03-27 20:16:32 +0200 |
commit | 220966d399350dd2b65d4fc29d5926eb198d5b87 (patch) | |
tree | 218c1f5748cba633a5d356422bd064c2118d3daa /inc/Menu/Item/Edit.php | |
parent | c5bd57213bf5122daaa4e984c71d8f8b4666afc1 (diff) | |
download | dokuwiki-220966d399350dd2b65d4fc29d5926eb198d5b87.tar.gz dokuwiki-220966d399350dd2b65d4fc29d5926eb198d5b87.zip |
fix: display "show" item in page menu during search action
Since we no longer change the page during a search, using the "show"
menu item to return to the current page makes more sense.
Diffstat (limited to 'inc/Menu/Item/Edit.php')
-rw-r--r-- | inc/Menu/Item/Edit.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/inc/Menu/Item/Edit.php b/inc/Menu/Item/Edit.php index 05467674d..5de1778fd 100644 --- a/inc/Menu/Item/Edit.php +++ b/inc/Menu/Item/Edit.php @@ -18,7 +18,7 @@ class Edit extends AbstractItem { parent::__construct(); - if($ACT == 'show' || $ACT == 'search') { + if($ACT === 'show') { $this->method = 'post'; if($INFO['writable']) { $this->accesskey = 'e'; |