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_usersgroups.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/'); 
     
    297297                function report_usersgroups_group_print() 
    298298                { 
    299                         $grouplist = trim($_POST[setor]); 
     299                        $grouplist = trim($_POST['setor']); 
    300300                        $grouplist = trim(ereg_replace("-","",$grouplist)); 
    301                         $organizacao = trim($_POST[organizacao]); 
    302                         $setordn = trim($_POST[setordn]); 
    303                         $organizacaodn = trim($_POST[organizacaodn]); 
    304                         $sectornamedncompleto = trim($_POST[sectornamedncompleto]); 
    305                         $Psectornamedncompleto = trim($_POST[Psectornamedncompleto]); 
     301                        $organizacao = trim($_POST['organizacao']); 
     302                        $setordn = trim($_POST['setordn']); 
     303                        $organizacaodn = trim($_POST['organizacaodn']); 
     304                        $sectornamedncompleto = trim($_POST['sectornamedncompleto']); 
     305                        $Psectornamedncompleto = trim($_POST['Psectornamedncompleto']); 
    306306 
    307307                        if ($sectornamedncompleto=="" && $Psectornamedncompleto=="") 
     
    382382 
    383383                                // **** Grupo de paginas **** 
    384                                 $gpag = $_POST[gpage]; 
     384                                $gpag = $_POST['gpage']; 
    385385 
    386386                                $grupopage = 20; 
     
    391391 
    392392                                // recebe o numero da pagina 
    393                                 $npag = $_POST[page]; 
     393                                $npag = $_POST['page']; 
    394394 
    395395                                // verifica se o get com o numero da pagina é nulo 
Note: See TracChangeset for help on using the changeset viewer.