Ignore:
Timestamp:
Jan 12, 2016, 10:33:43 PM (8 years ago)
Author:
chronos
Message:
  • Modified: Improved language switching using language code in URL. This is more search engine friendly as each language have own fixed URL.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Modules/Export/Page.php

    r838 r841  
    287287        else $WithDiacritic = 0;
    288288        if (array_key_exists('Featured', $_POST)) $Export['Featured'] = 1;
    289         $this->System->Database->query('UPDATE `Export` SET `Title`="'.$_POST['Title'].'", `Featured`='.$Export['Featured'].', `Description`="'.$_POST['Description'].'", `WithDiacritic`='.$WithDiacritic.' WHERE Id='.$Export['Id']);
     289        $this->System->Database->query('UPDATE `Export` SET `Title`="'.$_POST['Title'].
     290          '", `Featured`='.$Export['Featured'].', `Description`="'.$_POST['Description'].
     291          '", `WithDiacritic`='.$WithDiacritic.' WHERE `Id`='.$Export['Id']);
    290292        $Export['Title'] = $_POST['Title'];
    291293        $Export['Description'] = $_POST['Description'];
Note: See TracChangeset for help on using the changeset viewer.