summaryrefslogtreecommitdiff
path: root/backend.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2011-04-20 16:28:48 +0400
committerAndrew Dolgov <[email protected]>2011-04-20 16:28:48 +0400
commit572d66c6ee10cd86c64416abf2200cd3abec20a1 (patch)
tree476ef8873ee4fd0126128e13398d521735433a10 /backend.php
parentf192adc13351f1fd16e3433794c4371e83cca96d (diff)
backend/fbexport: fix syntax error
Diffstat (limited to 'backend.php')
-rw-r--r--backend.php6
1 files changed, 1 insertions, 5 deletions
diff --git a/backend.php b/backend.php
index 3e2633dca..7a006a479 100644
--- a/backend.php
+++ b/backend.php
@@ -605,15 +605,11 @@
array_push($feeds, $line);
}
- db_query($link, "UPDATE ttrss_linked_instances SET,
+ db_query($link, "UPDATE ttrss_linked_instances SET
last_status_in = 1 WHERE id = '$instance_id'");
print json_encode(array("feeds" => $feeds));
} else {
-
- db_query($link, "UPDATE ttrss_linked_instances SET,
- last_status_in = 0 WHERE id = '$instance_id'");
-
print json_encode(array("error" => array("code" => 6)));
}
break; // fbexport