- replaced mysql_query() with query_appdb()
- removed opendb() - removed query_userdb() - removed error handling from the code as it is done with query_appdb()
This commit is contained in:
@@ -17,8 +17,6 @@ if(!loggedin())
|
||||
|
||||
function build_prefs_list()
|
||||
{
|
||||
opendb();
|
||||
|
||||
$result = query_appdb("SELECT * FROM prefs_list ORDER BY id");
|
||||
while($r = mysql_fetch_object($result))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user