]> git.wh0rd.org Git - tt-rss.git/commitdiff
api: add a few logical spaces
authorAndrew Dolgov <fox@madoka.volgo-balt.ru>
Tue, 2 Apr 2013 05:34:32 +0000 (09:34 +0400)
committerAndrew Dolgov <fox@madoka.volgo-balt.ru>
Tue, 2 Apr 2013 05:34:32 +0000 (09:34 +0400)
classes/api.php

index f0f943698b0c15ce893c952569cd9d6d03a42c09..902cb0853a32230502a95c195f07a73e59b44b1e 100644 (file)
@@ -198,6 +198,7 @@ class API extends Handler {
                        $since_id = (int)db_escape_string($this->link, $_REQUEST["since_id"]);
                        $include_nested = sql_bool_to_bool($_REQUEST["include_nested"]);
                        $sanitize_content = true;
+
                        $override_order = false;
                        switch ($_REQUEST["order_by"]) {
                                case "date_reverse":
@@ -207,6 +208,7 @@ class API extends Handler {
                                        $override_order = "updated DESC";
                                        break;
                        }
+
                        /* do not rely on params below */
 
                        $search = db_escape_string($this->link, $_REQUEST["search"]);