diff options
author | Thomas Citharel <tcit@tcit.fr> | 2015-02-04 23:37:37 +0100 |
---|---|---|
committer | Thomas Citharel <tcit@tcit.fr> | 2015-02-04 23:37:37 +0100 |
commit | 1c91178932cd5b48d793261c6631697186853a93 (patch) | |
tree | 6bf890e40e92e100dcd5f86540d8d5934b7f4b4a /inc/poche/Poche.class.php | |
parent | 3fb0d44a67e9a88ad5669a4bf554069ad19877b0 (diff) | |
download | wallabag-1c91178932cd5b48d793261c6631697186853a93.tar.gz wallabag-1c91178932cd5b48d793261c6631697186853a93.tar.zst wallabag-1c91178932cd5b48d793261c6631697186853a93.zip |
fix autoclose (#984) and bookmarklet mode
Diffstat (limited to 'inc/poche/Poche.class.php')
-rwxr-xr-x | inc/poche/Poche.class.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/inc/poche/Poche.class.php b/inc/poche/Poche.class.php index f9928145..a601f0a8 100755 --- a/inc/poche/Poche.class.php +++ b/inc/poche/Poche.class.php | |||
@@ -195,9 +195,9 @@ class Poche | |||
195 | } | 195 | } |
196 | 196 | ||
197 | if ($autoclose == TRUE) { | 197 | if ($autoclose == TRUE) { |
198 | Tools::redirect('?view=home'); | 198 | Tools::redirect('?view=home&closewin=true'); |
199 | } else { | 199 | } else { |
200 | Tools::redirect('?view=home&closewin=true'); | 200 | Tools::redirect('?view=home'); |
201 | } | 201 | } |
202 | return $last_id; | 202 | return $last_id; |
203 | break; | 203 | break; |