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_shareAccounts.inc.php

    r7655 r7681  
    6767                        } 
    6868 
    69                         $grouplist = trim($_POST[setor]); 
     69                        $grouplist = trim($_POST['setor']); 
    7070                        $grouplist = trim(ereg_replace("-","",$grouplist)); 
    7171 
    72                         $setordn = trim($_POST[setordn]); 
    73                         $subtitulo1 = trim($_POST[subtitulo]); 
     72                        $setordn = trim($_POST['setordn']); 
     73                        $subtitulo1 = trim($_POST['subtitulo']); 
    7474 
    7575                        define('FPDF_FONTPATH','font/'); 
     
    329329                function report_shareAccounts_group_setor_print() 
    330330                { 
    331                         $grouplist = trim($_POST[setor]); 
     331                        $grouplist = trim($_POST['setor']); 
    332332                        $grouplist = trim(ereg_replace("-","",$grouplist)); 
    333                         $organizacao = trim($_POST[organizacao]); 
    334                         $setordn = trim($_POST[setordn]); 
    335                         $organizacaodn = trim($_POST[organizacaodn]); 
    336                         $sectornamedncompleto = trim($_POST[sectornamedncompleto]); 
    337                         $Psectornamedncompleto = trim($_POST[Psectornamedncompleto]); 
     333                        $organizacao = trim($_POST['organizacao']); 
     334                        $setordn = trim($_POST['setordn']); 
     335                        $organizacaodn = trim($_POST['organizacaodn']); 
     336                        $sectornamedncompleto = trim($_POST['sectornamedncompleto']); 
     337                        $Psectornamedncompleto = trim($_POST['Psectornamedncompleto']); 
    338338 
    339339                        if ($sectornamedncompleto=="" && $Psectornamedncompleto=="") 
     
    414414 
    415415                                // **** Grupo de paginas **** 
    416                                 $gpag = $_POST[gpage]; 
     416                                $gpag = $_POST['gpage']; 
    417417 
    418418                                $grupopage = 20; 
     
    423423 
    424424                                // recebe o numero da pagina 
    425                                 $npag = $_POST[page]; 
     425                                $npag = $_POST['page']; 
    426426 
    427427                                // verifica se o get com o numero da pagina é nulo 
Note: See TracChangeset for help on using the changeset viewer.