Ignore:
Timestamp:
Apr 8, 2013, 11:15:52 PM (11 years ago)
Author:
chronos
Message:
  • Opraveno: Načítání oprávnění anonymního uživatele. Dříve byl uživatel identifikován předvoleným číslem, nyní je použita hodnota NULL.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Modules/News/NewsPage.php

    r512 r515  
    9999        if($this->System->Modules['User']->CheckPermission('News', 'Insert', 'Group', $Category))
    100100        {
    101           //print_r($_FILES);
    102101          // Process uploaded file
    103102          $EnclosureFileNames = array('enclosure1', 'enclosure2', 'enclosure3');
     
    156155            $this->Database->update('News', 'Id='.$_POST['id'], array('Title' => $_POST['title'], 'Content' => $_POST['content']));
    157156            $Output .= 'Aktualita uložena!<br />';
    158       $Output .= '<a href="index.php?category='.$Category.'">Zpět na seznam aktualit</a>';
     157            $Output .= '<a href="index.php?category='.$Category.'">Zpět na seznam aktualit</a>';
    159158          } else $Output .= 'Nelze měnit cizí aktualitu!<br />';
    160159        } else $Output .= 'ID nenalezeno!';
Note: See TracChangeset for help on using the changeset viewer.