Ignore:
Timestamp:
07/02/08 17:27:46 (4 years ago)
Author:
hverton
Message:

bugfixes, added a missing download title field

File:
1 edited

Legend:

Unmodified
Added
Removed
  • modules/common/download_statistics/php-files/modules/download_statistics/admin.php

    r1481 r1506  
    137137                } 
    138138            } 
     139            $title = stripinput($_POST['dlstats_title']); 
    139140            $remote = IsNum($_POST['dlstats_remote']) ? $_POST['dlstats_remote'] : 0; 
    140141            $google_key = stripinput($_POST['dlstats_google_api_key']); 
     
    147148                $result = dbquery("UPDATE ".$db_prefix."configuration SET cfg_value = '".$remote."' WHERE cfg_name = 'dlstats_remote'"); 
    148149                $result = dbquery("UPDATE ".$db_prefix."configuration SET cfg_value = '".$google_key."' WHERE cfg_name = 'dlstats_google_api_key'"); 
     150                $result = dbquery("UPDATE ".$db_prefix."configuration SET cfg_value = '".$title."' WHERE cfg_name = 'dlstats_title'"); 
    149151                redirect(FUSION_SELF.$aidlink."&status=cs"); 
    150152                exit; 
     
    161163            $settings2['dlstats_remote'] = $remote; 
    162164            $settings2['dlstats_google_api_key'] = $google_key; 
     165            $settings2['dlstats_title'] = $title; 
    163166        } 
    164167        // reset the action switch to return to the default action 
Note: See TracChangeset for help on using the changeset viewer.