MyBB Community Forums

Full Version: [F] mysql_* in the mysqli class
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
File /inc/db_mysqli.php
  • The close() function uses mysql_close() instead of mysqli_close() on the "write" connection.
  • escape_string() tests for the existence of mysql_real_escape_string() instead of the mysqli_* version, which means it will use addslashes() if you don't have the old mysql extension loaded.
Thank you for your bug report.

This bug has been fixed in our internal code repository. Please note that the problem will not be fixed here until these forums are updated.