Ignore:
Timestamp:
Sep 23, 2023, 12:04:04 AM (14 months ago)
Author:
chronos
Message:
  • Fixed: Numeric check for input values.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Modules/Notify/Notify.php

    r956 r958  
    204204    td { padding: 5px; }
    205205    </style>';
    206     if (!array_key_exists('i', $_GET)) return 'Položka nenalezena';   
     206    if (!array_key_exists('i', $_GET) or !is_numeric($_GET['i'])) return 'Položka nenalezena';   
    207207    $Id = $_GET['i'] * 1;
    208208    $DbResult = $this->Database->select('NotifyLog', 'Title,Content, UNIX_TIMESTAMP(`Time`) AS `Time`', 'Id='.$Id);
Note: See TracChangeset for help on using the changeset viewer.