backend/fbexport: fix syntax error

This commit is contained in:
Andrew Dolgov 2011-04-20 16:28:48 +04:00
parent f192adc133
commit 572d66c6ee
1 changed files with 1 additions and 5 deletions

View File

@ -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