]> git.immae.eu Git - github/wallabag/wallabag.git/blobdiff - index.php
comments
[github/wallabag/wallabag.git] / index.php
index 353df873fb14c7f8ce1b53e8d2f64ee9a0b8cb00..a60e4e941704c14a64f9a66c24a2cb7b9dea01e8 100644 (file)
--- a/index.php
+++ b/index.php
@@ -32,7 +32,7 @@ elseif (isset($_GET['config'])) {
     $poche->updatePassword();
 }
 elseif (isset($_GET['import'])) {
-    $poche->import($_GET['from']);
+    $import = $poche->import($_GET['from']);
 }
 elseif (isset($_GET['export'])) {
     $poche->export();
@@ -53,7 +53,6 @@ if (Session::isLogged()) {
     $tpl_vars = array_merge($tpl_vars, $poche->displayView($view, $id));
 }
 else {
-    # login
     $tpl_file = 'login.twig';
 }