Ignore:
Timestamp:
Oct 1, 2014, 5:38:21 PM (10 years ago)
Author:
gbo
Message:

version 2.7.C by default php 5.2 does not support "array_replace"

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/LLGBO2/admin/header.php

    r29841 r29855  
    1010                                                { $param_llgbo_header['HD-dispheader'][$cle] = (empty($_POST[$cle])) ? False : True;
    1111                                                }       
    12                                 $conf['LLGBO2'] = array_replace($conf['LLGBO2'],$param_llgbo_header );
     12                                $conf['LLGBO2'] = update_llgboconf($conf['LLGBO2'],$param_llgbo_header );
     13                                // $conf['LLGBO2'] = array_replace($conf['LLGBO2'],$param_llgbo_header );
    1314                               
    1415                                // Update DB
     
    1819                               
    1920        if ( isset($_POST['reset']) ) 
    20                         { 
    21                                 $conf['LLGBO2'] = array_replace($conf['LLGBO2'], $default_header);
     21                        {  $conf['LLGBO2'] = update_llgboconf($conf['LLGBO2'], $default_header );
     22                                // $conf['LLGBO2'] = array_replace($conf['LLGBO2'], $default_header);
    2223                        }
    2324
Note: See TracChangeset for help on using the changeset viewer.