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

    r7655 r7681  
    203203                function report_cota_group_setor_print() 
    204204                { 
    205                         $grouplist = trim($_POST[setor]); 
     205                        $grouplist = trim($_POST['setor']); 
    206206                        $grouplist = trim(ereg_replace("-","",$grouplist)); 
    207                         $organizacao = trim($_POST[organizacao]); 
    208                         $setordn = trim($_POST[setordn]); 
    209                         $organizacaodn = trim($_POST[organizacaodn]); 
    210                         $sectornamedncompleto = trim($_POST[sectornamedncompleto]); 
    211                         $Psectornamedncompleto = trim($_POST[Psectornamedncompleto]);                    
     207                        $organizacao = trim($_POST['organizacao']); 
     208                        $setordn = trim($_POST['setordn']); 
     209                        $organizacaodn = trim($_POST['organizacaodn']); 
     210                        $sectornamedncompleto = trim($_POST['sectornamedncompleto']); 
     211                        $Psectornamedncompleto = trim($_POST['Psectornamedncompleto']); 
    212212 
    213213                        if ($sectornamedncompleto=="" && $Psectornamedncompleto=="") 
     
    289289 
    290290                                // **** Grupo de paginas **** 
    291                                 $gpag = $_POST[gpage]; 
     291                                $gpag = $_POST['gpage']; 
    292292 
    293293                                $grupopage = 20; 
     
    298298 
    299299                                // recebe o numero da pagina 
    300                                 $npag = $_POST[page]; 
     300                                $npag = $_POST['page']; 
    301301 
    302302                                // verifica se o get com o numero da pagina é nulo 
     
    512512                        } 
    513513 
    514                         $grouplist = trim($_POST[setor]); 
     514                        $grouplist = trim($_POST['setor']); 
    515515                        $grouplist = trim(ereg_replace("-","",$grouplist)); 
    516516 
    517                         $setordn = trim($_POST[setordn]); 
    518                         $subtitulo1 = trim($_POST[subtitulo]); 
     517                        $setordn = trim($_POST['setordn']); 
     518                        $subtitulo1 = trim($_POST['subtitulo']); 
    519519                         
    520520                        define('FPDF_FONTPATH','font/'); 
Note: See TracChangeset for help on using the changeset viewer.