Skip to content
  • totten's avatar
    CRM-16132 - Fix warning, "mysqli_error() expects parameter 1 to be mysqli" · 2e4ade96
    totten authored
    The error-reporting code tests whehter it should lookup errors using
    mysql_error() or mysqli_error().  However, it incorrectly assumes that
    function-existence implies active-link.  But both functions may exist --
    even though only one connection is active.  The active, in-use connection is
    determined by the DSN.
    2e4ade96