diff options
author | Mario <mario@mariovavti.com> | 2021-01-22 10:42:58 +0000 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2021-01-22 10:42:58 +0000 |
commit | 92f420f77c830163fe7d58d98ed3eefb4d79bbed (patch) | |
tree | 249a7c50f8a5f15663d5e3b72601cfb3fa1d8bfb /Zotlabs | |
parent | 78716c42d6ff31bcd89c2316166bf9731a5ab3ab (diff) | |
download | volse-hubzilla-92f420f77c830163fe7d58d98ed3eefb4d79bbed.tar.gz volse-hubzilla-92f420f77c830163fe7d58d98ed3eefb4d79bbed.tar.bz2 volse-hubzilla-92f420f77c830163fe7d58d98ed3eefb4d79bbed.zip |
cleanup
Diffstat (limited to 'Zotlabs')
-rw-r--r-- | Zotlabs/Daemon/Externals.php | 2 | ||||
-rw-r--r-- | Zotlabs/Module/Zotfeed.php | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/Zotlabs/Daemon/Externals.php b/Zotlabs/Daemon/Externals.php index da05cad18..064b3f71d 100644 --- a/Zotlabs/Daemon/Externals.php +++ b/Zotlabs/Daemon/Externals.php @@ -37,7 +37,7 @@ class Externals { $r = q("select site_url, site_pull from site where site_url != '%s' and site_flags != %d and site_type = %d - and site_dead = 0 and site_project like '%s' and site_version > '5.3.1' order by $randfunc limit 1", + and site_dead = 0 and site_project like '%s' and site_version > '5.3.1' order by $randfunc limit 1", dbesc(z_root()), intval(DIRECTORY_MODE_STANDALONE), intval(SITE_TYPE_ZOT), diff --git a/Zotlabs/Module/Zotfeed.php b/Zotlabs/Module/Zotfeed.php index e838ae34c..17b0e3057 100644 --- a/Zotlabs/Module/Zotfeed.php +++ b/Zotlabs/Module/Zotfeed.php @@ -66,7 +66,7 @@ class Zotfeed extends Controller { } else { $items = zot_feed($channel['channel_id'], $observer_hash, []); - $ret = Activity::encode_item_collection($items, App::$query_string, 'OrderedCollection', $total); + $ret = Activity::encode_item_collection($items, App::$query_string, 'OrderedCollection', $total); } as_return_and_die($ret, $channel); @@ -114,7 +114,7 @@ class Zotfeed extends Controller { 'compat' => $params['compat'] ], $channel, $observer_hash, CLIENT_MODE_NORMAL, App::$module ); - $ret = Activity::encode_item_collection($items, App::$query_string, 'OrderedCollection', $total); + $ret = Activity::encode_item_collection($items, App::$query_string, 'OrderedCollection', $total); } as_return_and_die($ret, $channel); |