Fixed issues as db can't be closed now.

This commit is contained in:
Richard Underwood 2017-01-04 12:07:53 +00:00
parent e9b6a49e5a
commit f978e784d5
3 changed files with 1 additions and 9 deletions

View file

@ -110,7 +110,6 @@ function get_usernames_filtered($term, $num = 10) {
while ($row = $r->fetchArray(SQLITE3_NUM)) {
array_push($ret, $row[0]);
}
$db->close();
return $ret;
}