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_maillists.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/'); 
     
    300300                function report_maillists_group_print() 
    301301                { 
    302                         $grouplist = trim($_POST[setor]); 
     302                        $grouplist = trim($_POST['setor']); 
    303303                        $grouplist = trim(ereg_replace("-","",$grouplist)); 
    304                         $organizacao = trim($_POST[organizacao]); 
    305                         $setordn = trim($_POST[setordn]); 
    306                         $organizacaodn = trim($_POST[organizacaodn]); 
    307                         $sectornamedncompleto = trim($_POST[sectornamedncompleto]); 
    308                         $Psectornamedncompleto = trim($_POST[Psectornamedncompleto]); 
     304                        $organizacao = trim($_POST['organizacao']); 
     305                        $setordn = trim($_POST['setordn']); 
     306                        $organizacaodn = trim($_POST['organizacaodn']); 
     307                        $sectornamedncompleto = trim($_POST['sectornamedncompleto']); 
     308                        $Psectornamedncompleto = trim($_POST['Psectornamedncompleto']); 
    309309 
    310310                        if ($sectornamedncompleto=="" && $Psectornamedncompleto=="") 
     
    385385 
    386386                                // **** Grupo de paginas **** 
    387                                 $gpag = $_POST[gpage]; 
     387                                $gpag = $_POST['gpage']; 
    388388 
    389389                                $grupopage = 20; 
     
    394394 
    395395                                // recebe o numero da pagina 
    396                                 $npag = $_POST[page]; 
     396                                $npag = $_POST['page']; 
    397397 
    398398                                // verifica se o get com o numero da pagina é nulo 
Note: See TracChangeset for help on using the changeset viewer.