Ignore:
Timestamp:
Dec 27, 2022, 7:50:23 PM (23 months ago)
Author:
chronos
Message:
  • Modified: Updated Common package to latest version.
  • Modified: Fixes related to PHP 8.x.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/includes/PageEdit.php

    r880 r888  
    1919  }
    2020
    21   function Show()
     21  function Show(): string
    2222  {
    2323    $Output = '';
     
    2626      if ($_GET['action'] == 'add') $Output .= $this->AddItem();
    2727      else if ($_GET['action'] == 'view') $Output .= $this->ViewItem();
    28       else if ($_GET['action'] == 'edit') $Output .= $this->ModifyItem();
    29       else if ($_GET['action'] == 'remove') $Output .= $this->RemoveItem();
     28      //else if ($_GET['action'] == 'edit') $Output .= $this->ModifyItem();
     29      //else if ($_GET['action'] == 'remove') $Output .= $this->RemoveItem();
    3030      else if ($_GET['action'] == 'delete') $Output .= $this->DeleteItem();
    3131      else $Output .= ShowMessage(T('Unknown action'), MESSAGE_CRITICAL);
Note: See TracChangeset for help on using the changeset viewer.