]> git.mxchange.org Git - friendica.git/commitdiff
Close DB connection in api_saved_searches_list
authorPierre Rudloff <contact@rudloff.pro>
Tue, 19 Dec 2017 13:42:13 +0000 (14:42 +0100)
committerPierre Rudloff <contact@rudloff.pro>
Tue, 19 Dec 2017 13:42:13 +0000 (14:42 +0100)
include/api.php

index 659f23b58cda523e010c9ced35c4cf067baee37d..13c652feb098d1f8e3652af6b1a9d8fdfa1f1444 100644 (file)
@@ -5514,6 +5514,8 @@ function api_saved_searches_list($type)
                );
        }
 
+       dba::close($terms);
+
        return api_format_data("terms", $type, array('terms' => $result));
 }