Show
Ignore:
Timestamp:
03/19/07 23:38:33 (16 years ago)
Author:
exi
Message:

Fixed a bug which prevented some options from beeing saved properly.
Added code to the http request class to support cookies.
Added a small summary option for the killsummarytables.
System location will now get classified in the battleparser too.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • dev/common/includes/class.options.php

    r190 r191  
    6464            { 
    6565                // for callbacks we check their callback function on postdata to deal with it 
    66                 if ($element['callback']) 
    67                 { 
    68                     if (!is_callable($element['callback'])) 
     66                if ($element['onchange']) 
     67                { 
     68                    if (!is_callable($element['onchange'])) 
    6969                    { 
    70                         trigger_error('Unable to callback to '.$element['callback'][0].'::'.$element['callback'][1], E_USER_ERROR); 
     70                        trigger_error('Unable to callback to '.$element['onchange'][0].'::'.$element['onchange'][1], E_USER_ERROR); 
    7171                        return false; 
    7272                    } 
    73                     call_user_func($element['callback']); 
     73                    call_user_func($element['onchange'], $element['name']); 
    7474                    continue; 
    7575                }