Ignore:
Timestamp:
12/19/12 16:44:18 (11 years ago)
Author:
douglasz
Message:

Ticket #3236 - Correcoes para Best Practice: Short Open Tag e Best Practice: Always Quote Array Keys.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/reports/inc/class.uireports_institutionalAccounts.inc.php

    r7655 r7681  
    6565                        } 
    6666 
    67                         $grouplist = trim($_POST[setor]); 
     67                        $grouplist = trim($_POST['setor']); 
    6868                        $grouplist = trim(ereg_replace("-","",$grouplist)); 
    6969 
    70                         $setordn = trim($_POST[setordn]); 
    71                         $subtitulo1 = trim($_POST[subtitulo]); 
     70                        $setordn = trim($_POST['setordn']); 
     71                        $subtitulo1 = trim($_POST['subtitulo']); 
    7272 
    7373                        define('FPDF_FONTPATH','font/'); 
     
    324324                function report_institutionalAccounts_group_setor_print() 
    325325                { 
    326                         $grouplist = trim($_POST[setor]); 
     326                        $grouplist = trim($_POST['setor']); 
    327327                        $grouplist = trim(ereg_replace("-","",$grouplist)); 
    328                         $organizacao = trim($_POST[organizacao]); 
    329                         $setordn = trim($_POST[setordn]); 
    330                         $organizacaodn = trim($_POST[organizacaodn]); 
    331                         $sectornamedncompleto = trim($_POST[sectornamedncompleto]); 
    332                         $Psectornamedncompleto = trim($_POST[Psectornamedncompleto]); 
     328                        $organizacao = trim($_POST['organizacao']); 
     329                        $setordn = trim($_POST['setordn']); 
     330                        $organizacaodn = trim($_POST['organizacaodn']); 
     331                        $sectornamedncompleto = trim($_POST['sectornamedncompleto']); 
     332                        $Psectornamedncompleto = trim($_POST['Psectornamedncompleto']); 
    333333 
    334334                        if ($sectornamedncompleto=="" && $Psectornamedncompleto=="") 
     
    409409 
    410410                                // **** Grupo de paginas **** 
    411                                 $gpag = $_POST[gpage]; 
     411                                $gpag = $_POST['gpage']; 
    412412 
    413413                                $grupopage = 20; 
     
    418418 
    419419                                // recebe o numero da pagina 
    420                                 $npag = $_POST[page]; 
     420                                $npag = $_POST['page']; 
    421421 
    422422                                // verifica se o get com o numero da pagina é nulo 
Note: See TracChangeset for help on using the changeset viewer.