summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorJohn Brayton <[email protected]>2016-08-27 10:29:25 -0400
committerJohn Brayton <[email protected]>2016-08-27 10:29:25 -0400
commitf1b3b3f3308b187e067ccac7daeb2258751d10ce (patch)
tree7bf9656f9e2602cf0a43484f31c8e977676592f0 /include
parent557d86fe42e38a43b023b78af782dc509e4581f7 (diff)
Add feed_id to subscribeToFeed response when the code is 1 or 0.
Set the API_LEVEL to 14.
Diffstat (limited to 'include')
-rwxr-xr-xinclude/functions.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/functions.php b/include/functions.php
index 3902ac45a..68f6f592b 100755
--- a/include/functions.php
+++ b/include/functions.php
@@ -1772,9 +1772,9 @@
set_basic_feed_info($feed_id);
}
- return array("code" => 1);
+ return array("code" => 1, "feed_id" => $feed_id);
} else {
- return array("code" => 0);
+ return array("code" => 0, "feed_id" => db_fetch_result($result, 0, "id"));
}
}