]> git.immae.eu Git - github/wallabag/wallabag.git/blobdiff - inc/poche/Poche.class.php
fix autoclose (#984) and bookmarklet mode
[github/wallabag/wallabag.git] / inc / poche / Poche.class.php
index f992814583ba7f7fb56f9805c1219b59910177c6..a601f0a86ab078d182d7c29f75896b39f2c62395 100755 (executable)
@@ -195,9 +195,9 @@ class Poche
                 }
 
                 if ($autoclose == TRUE) {
-                  Tools::redirect('?view=home');
+                    Tools::redirect('?view=home&closewin=true');
                 } else {
-                  Tools::redirect('?view=home&closewin=true');
+                    Tools::redirect('?view=home');
                 }
                 return $last_id;
                 break;