Changeset 955 for trunk


Ignore:
Timestamp:
Aug 17, 2023, 9:06:36 PM (16 months ago)
Author:
chronos
Message:
  • Fixed: Missing id error.
File:
1 edited

Legend:

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

    r953 r955  
    2525      $Category = $this->GetCategory();
    2626      if (array_key_exists('id', $_GET)) $Id = $_GET['id'] * 1;
     27        else return $Output .= 'Položka nenalezena.';
    2728      $DbResult = $this->Database->query('SELECT `News`.*, `User`.`Name` FROM `News` '.
    2829        'LEFT JOIN `User` ON `User`.`Id`=`News`.`User` WHERE (`News`.`Id`='.$Id.')'.$this->GetIntranetCondition());
Note: See TracChangeset for help on using the changeset viewer.