1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Fixed XenForo_Db::_execQuery & XenForo_Debug::getDatabaseDebugInfo use get_class instead of instanceof

Discussion in 'Resolved Bug Reports' started by Xon, Jul 13, 2016.

  1. Xon

    Xon Well-Known Member

    Both XenForo_Db::_execQuery and XenForo_Debug::getDatabaseDebugInfo use get_class rather than instanceof.

    This means classes which extend Zend_Db_Adapter_Mysqli which have the same capabilities as Zend_Db_Adapter_Mysqli, are not treated the same.
  2. Mike

    Mike XenForo Developer Staff Member

    I've changed these two places, thanks.
    Xon likes this.

Share This Page