aboutsummaryrefslogtreecommitdiffhomepage
path: root/import.php
diff options
context:
space:
mode:
Diffstat (limited to 'import.php')
-rw-r--r--import.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/import.php b/import.php
index 135443c9..72e3eac7 100644
--- a/import.php
+++ b/import.php
@@ -30,7 +30,7 @@ else {
30 $url = $a[0]->href; 30 $url = $a[0]->href;
31 31
32 32
33 action_to_do('add', $url, $token); 33 action_to_do('add', $url);
34 if ($read == '1') { 34 if ($read == '1') {
35 $last_id = $db->getHandle()->lastInsertId(); 35 $last_id = $db->getHandle()->lastInsertId();
36 $sql_update = "UPDATE entries SET is_read=~is_read WHERE id=?"; 36 $sql_update = "UPDATE entries SET is_read=~is_read WHERE id=?";