diff --git a/src/Module/Api/Twitter/SavedSearches.php b/src/Module/Api/Twitter/SavedSearches.php index 8658257fbf..ce183168b5 100644 --- a/src/Module/Api/Twitter/SavedSearches.php +++ b/src/Module/Api/Twitter/SavedSearches.php @@ -41,9 +41,9 @@ class SavedSearches extends BaseApi while ($term = DBA::fetch($terms)) { $result[] = new \Friendica\Object\Api\Twitter\SavedSearch($term); } - + DBA::close($terms); - + self::exit('terms', ['terms' => $result], $parameters['extension'] ?? null); } }