Ignore:
Timestamp:
Sep 5, 2013, 12:13:45 PM (11 years ago)
Author:
mistic100
Message:

revert changes form previous commit + fix undefined index after restoration

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/ContactForm/admin/config.php

    r24347 r24348  
    55if (isset($_POST['save_config']))
    66{
     7  $was_ready = $conf['ContactForm']['cf_ready'];
     8 
    79  $conf['ContactForm'] = array(
    8     'cf_ready' =>             $conf['ContactForm']['cf_ready'],
    910    'cf_must_initialize' =>   false,
    1011    'cf_menu_link' =>         isset($_POST['cf_menu_link']),
     
    2526  conf_update_param('ContactForm_after', $conf['ContactForm_after']);
    2627 
     28  $conf['ContactForm']['cf_ready'] = $was_ready;
     29 
    2730  array_push($page['infos'], l10n('Information data registered in database'));
    2831}
Note: See TracChangeset for help on using the changeset viewer.