backend/fbexport: fix syntax error

This commit is contained in:
Andrew Dolgov 2011-04-20 16:28:48 +04:00
parent f192adc133
commit 572d66c6ee

View file

@ -605,15 +605,11 @@
array_push($feeds, $line); 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'"); last_status_in = 1 WHERE id = '$instance_id'");
print json_encode(array("feeds" => $feeds)); print json_encode(array("feeds" => $feeds));
} else { } 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))); print json_encode(array("error" => array("code" => 6)));
} }
break; // fbexport break; // fbexport