]> git.wh0rd.org Git - tt-rss.git/commitdiff
backend/fbexport: fix syntax error
authorAndrew Dolgov <fox@madoka.volgo-balt.ru>
Wed, 20 Apr 2011 12:28:48 +0000 (16:28 +0400)
committerAndrew Dolgov <fox@madoka.volgo-balt.ru>
Wed, 20 Apr 2011 12:28:48 +0000 (16:28 +0400)
backend.php

index 3e2633dcaa8743e60740c8b539cf259ea9eed087..7a006a479d99d1aa8dca9324b5ee583f9b2dfc79 100644 (file)
                                        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