Ignore:
Timestamp:
Aug 15, 2013, 12:11:32 AM (11 years ago)
Author:
chronos
Message:
  • Fixed: Table view missing System parameter.
Location:
trunk/www
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/www

    • Property svn:ignore
      •  

        old new  
        11config.php
         2.buildpath
         3.project
         4.settings
  • trunk/www/Application/View/Task.php

    r78 r92  
    2929   
    3030    $Output = '<h4>Fronta úloh</h4>';
    31     $Table = new Table($this->ItemListFormClass);
     31    $Table = new Table($this->ItemListFormClass, $this->System);
    3232    $Table->OnRow = array($this, 'ShowListOnRow');
    3333    $Table->Definition['Table'] = '(SELECT Id, (COALESCE(UNIX_TIMESTAMP(TimeEnd), UNIX_TIMESTAMP(NOW())) - UNIX_TIMESTAMP(TimeStart)) AS Duration, TimeCreate, Title, State FROM Task WHERE User='.$this->System->Modules['User']->User['Id'].' ORDER BY Id DESC)';
Note: See TracChangeset for help on using the changeset viewer.