Changeset 29862 for extensions


Ignore:
Timestamp:
Oct 2, 2014, 9:16:35 PM (10 years ago)
Author:
gbo
Message:

Fix notice during installation or activation

Location:
extensions/LLGBO2
Files:
6 edited

Legend:

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

    r29855 r29862  
    1919                         {      // $conf['LLGBO2'] = array_replace($conf['LLGBO2'], $param_llgbo_frame);
    2020                         $conf['LLGBO2'] = update_llgboconf($conf['LLGBO2'], $param_llgbo_frame);
    21                                 conf_update_param('LLGBO2_settings',$conf['LLGBO2']);
     21                                conf_update_param('LLGBO2_settings',$conf['LLGBO2'],true);
    2222                                array_push($page['infos'], l10n('Information data registered in database'));
    2323                                unset($samples['MY_LAST_VALUES']);      }
  • extensions/LLGBO2/admin/header.php

    r29855 r29862  
    1414                               
    1515                                // Update DB
    16                                 conf_update_param('LLGBO2_settings',$conf['LLGBO2']);
     16                                conf_update_param('LLGBO2_settings',$conf['LLGBO2'],true);
    1717                                array_push($page['infos'], l10n('Information data registered in database'));   
    1818                        }               
  • extensions/LLGBO2/admin/settings.php

    r29855 r29862  
    2020           
    2121        // Update DB
    22                                 conf_update_param('LLGBO2_settings',$conf['LLGBO2']);
     22                                conf_update_param('LLGBO2_settings',$conf['LLGBO2'],true);
    2323                                array_push($page['infos'], l10n('Information data registered in database'));
    2424       
  • extensions/LLGBO2/admin/tooltip.php

    r29855 r29862  
    1717                                 { $conf['LLGBO2'] = update_llgboconf($conf['LLGBO2'],$param_llgbo_tooltip);
    1818                                 //$conf['LLGBO2'] = array_replace($conf['LLGBO2'], $param_llgbo_tooltip);
    19                                         conf_update_param('LLGBO2_settings',$conf['LLGBO2']);
     19                                        conf_update_param('LLGBO2_settings',$conf['LLGBO2'],true);
    2020                                         array_push($page['infos'], l10n('Information data registered in database')); }
    2121        }
  • extensions/LLGBO2/main.inc.php

    r29861 r29862  
    4343        global $conf;
    4444        load_language('plugin.lang', LLGBO_PATH);
    45                        
    46         $conf['LLGBO2'] =  safe_unserialize($conf['LLGBO2_Settings']);
     45       
     46    $conf['LLGBO2'] =  safe_unserialize($conf['LLGBO2_Settings']);
    4747}
    4848/******************************************************************/
  • extensions/LLGBO2/maintain.class.php

    r29484 r29862  
    113113       
    114114         $conf['LLGBO2'] =array_merge((array)$this->default_main, (array)$this->default_tooltip,(array) $this->default_frame,(array) $this->default_header);
    115          print_r($this->default_main);
    116          conf_update_param('LLGBO2_Settings', $conf['LLGBO2']);
     115         conf_update_param('LLGBO2_Settings', $conf['LLGBO2'],true);   
    117116        }
    118117 }
Note: See TracChangeset for help on using the changeset viewer.