Development: fixed quick IF statement within database MySQLi fatal error function