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_users.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/'); 
     
    318318                function report_users_group_setor_print() 
    319319                { 
    320                         $grouplist = trim($_POST[setor]); 
     320                        $grouplist = trim($_POST['setor']); 
    321321                        $grouplist = trim(ereg_replace("-","",$grouplist)); 
    322                         $organizacao = trim($_POST[organizacao]); 
    323                         $setordn = trim($_POST[setordn]); 
    324                         $organizacaodn = trim($_POST[organizacaodn]); 
    325                         $sectornamedncompleto = trim($_POST[sectornamedncompleto]); 
    326                         $Psectornamedncompleto = trim($_POST[Psectornamedncompleto]); 
     322                        $organizacao = trim($_POST['organizacao']); 
     323                        $setordn = trim($_POST['setordn']); 
     324                        $organizacaodn = trim($_POST['organizacaodn']); 
     325                        $sectornamedncompleto = trim($_POST['sectornamedncompleto']); 
     326                        $Psectornamedncompleto = trim($_POST['Psectornamedncompleto']); 
    327327 
    328328                        if ($sectornamedncompleto=="" && $Psectornamedncompleto=="") 
     
    403403 
    404404                                // **** Grupo de paginas **** 
    405                                 $gpag = $_POST[gpage]; 
     405                                $gpag = $_POST['gpage']; 
    406406 
    407407                                $grupopage = 20; 
     
    412412 
    413413                                // recebe o numero da pagina 
    414                                 $npag = $_POST[page]; 
     414                                $npag = $_POST['page']; 
    415415 
    416416                                // verifica se o get com o numero da pagina é nulo 
Note: See TracChangeset for help on using the changeset viewer.