Changeset 967 for trunk/Common/Form


Ignore:
Timestamp:
Mar 6, 2024, 11:47:49 PM (10 months ago)
Author:
chronos
Message:
  • Added: Monthly finance report.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Common/Form/Types/String.php

    r920 r967  
    2525  function OnLoad(array $Item): ?string
    2626  {
    27     return $_POST[$Item['Name']];
     27    if (array_key_exists($Item['Name'], $_POST))
     28      return $_POST[$Item['Name']];
     29      else return '';
    2830  }
    2931
Note: See TracChangeset for help on using the changeset viewer.