Fixed a leftover call to mysql_query to use the abstracted alternative.