Ignore:
Timestamp:
May 25, 2020, 9:54:02 PM (5 years ago)
Author:
chronos
Message:
  • Fixed: Missing return statement in Setup CheckState method.
  • Fixed: Global $System variable is not used anymore.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Packages/Common/Table.php

    r92 r94  
    11<?php
    22
    3 class Control
     3class Control extends Base
    44{
    55  var $Name;
     
    9898  var $Style;
    9999
    100   function __construct()
     100  function __construct(Application $System)
    101101  {
    102     global $System;
     102    parent::__construct($System);
    103103
    104104    $this->Columns = array();
    105105    $this->Table = new TableMemory();
    106106    $this->OrderDirSQL = array('ASC', 'DESC');
    107     $this->OrderArrowImage = array($System->Link('/images/sort_asc.png'),
    108       $System->Link('/images/sort_desc.png'));
     107    $this->OrderArrowImage = array($this->System->Link('/images/sort_asc.png'),
     108      $this->System->Link('/images/sort_desc.png'));
    109109    $this->DefaultOrder = 0;
    110110    $this->Style = 'BaseTable';
Note: See TracChangeset for help on using the changeset viewer.