Project

General

Profile

« Previous | Next » 

Revision 2132

Added by darkviper over 8 years ago

! class WbDatabase: all deprecated methods now will trigger a E_USER_DEPRECATED error.

View differences:

branches/2.8.x/CHANGELOG
10 10
# = Bugfix
11 11
! = Update/Change
12 12
===============================================================================
13
01 Sep -2015 Build 2132 Manuela v.d.Decken(DarkViper)
14
! class WbDatabase: all deprecated methods now will trigger a E_USER_DEPRECATED error.
13 15
23 Jun -2015 Build 2131 Manuela v.d.Decken(DarkViper)
14 16
# msgQueue fixed index error
15 17
! WbDatabase added compatibility layer to ::fetchAll() to prevent from incomplete compiled PHP
branches/2.8.x/wb/admin/interface/version.php
51 51

  
52 52
// check if defined to avoid errors during installation (redirect to admin panel fails if PHP error/warnings are enabled)
53 53
if(!defined('VERSION')) define('VERSION', '2.8.4');
54
if(!defined('REVISION')) define('REVISION', '2131');
54
if(!defined('REVISION')) define('REVISION', '2132');
55 55
if(!defined('SP')) define('SP', '');
branches/2.8.x/wb/framework/WbDatabase.php
479 479
    {
480 480
        $iType = $iType != MYSQLI_NUM ? MYSQLI_ASSOC : MYSQLI_NUM;
481 481

  
482
        if (function_exists('mysqli_fetch_array')) { # Compatibility layer with PHP < 5.3
482
        if (function_exists('mysqli_fetch_all')) { # Compatibility layer with PHP < 5.3
483 483
            $aRetval = mysqli_fetch_all($this->result, $iType);
484 484
        } else {
485 485
            for ($aRetval = array(); ($aTmp = mysqli_fetch_array($this->result, $iType));) { $aRetval[] = $aTmp; }

Also available in: Unified diff