Ignore:
Timestamp:
Apr 6, 2020, 11:56:19 PM (4 years ago)
Author:
chronos
Message:
  • Modified: Do not use parenthesis around returned value.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Modules/Finance/Import.php

    r873 r874  
    99  function Show()
    1010  {
    11     if (!$this->System->User->CheckPermission('Finance', 'SubjectList')) return ('Nemáte oprávnění');
     11    if (!$this->System->User->CheckPermission('Finance', 'SubjectList')) return 'Nemáte oprávnění';
    1212    if (array_key_exists('Operation', $_GET))
    1313    {
    14       if ($_GET['Operation'] == 'prepare') return ($this->Prepare());
    15       else if ($_GET['Operation'] == 'insert') return ($this->Insert());
     14      if ($_GET['Operation'] == 'prepare') return $this->Prepare();
     15      else if ($_GET['Operation'] == 'insert') return $this->Insert();
    1616      else echo('Neplatná akce');
    1717    } else
     
    2222      $Output .= '<input type="submit" value="Analyzovat"/>';
    2323      $Output .= '</form>';
    24       return ($Output);
     24      return $Output;
    2525    }
    2626  }
     
    121121      $Output .= '<input type="submit" value="Zpracovat"/></form>';
    122122    }
    123     return ($Output);
     123    return $Output;
    124124  }
    125125
     
    156156      $this->System->ModuleManager->Modules['Log']->NewRecord('Finance', 'NewPaymentInserted');
    157157    }
    158     return ($Output);
     158    return $Output;
    159159  }
    160160}
Note: See TracChangeset for help on using the changeset viewer.