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/settings.php

    r29841 r29855  
    1616                                'manageheader'           => empty($_POST['llgbo_manageheader'])                 ? false : true,
    1717                                        );               
    18                 $conf['LLGBO2'] = array_replace($conf['LLGBO2'], $param_llgbo);
    19          
     18                $conf['LLGBO2'] = update_llgboconf($conf['LLGBO2'], $param_llgbo);
     19                //$conf['LLGBO2'] = array_replace($conf['LLGBO2'], $param_llgbo);
     20           
    2021        // Update DB
    2122                                conf_update_param('LLGBO2_settings',$conf['LLGBO2']);
     
    2627        // end submit
    2728        if ( isset($_POST['reset']) ) 
    28         {  $conf['LLGBO2'] = array_replace($conf['LLGBO2'], $default_main); }
     29        {   $conf['LLGBO2'] = update_llgboconf($conf['LLGBO2'], $default_main);
     30                //$conf['LLGBO2'] = array_replace($conf['LLGBO2'], $default_main);
     31                }
    2932       
    3033 // Reload settings for correct display after update
Note: See TracChangeset for help on using the changeset viewer.