Commit de25938cb40744edc883174e9f6115cfa50e0d37

Authored by Edmar Moretti
1 parent cb6dbb2d

$1

Showing 2 changed files with 2 additions and 0 deletions   Show diff stats
admin/admin.db
No preview for this file type
classesphp/classe_analise.php
... ... @@ -265,6 +265,7 @@ Include:
265 265 $myPalette=new palette(array($cori,$corf),($numclasses + 1));
266 266 //cria os parametros das classes
267 267 $cls = $this->classesRasterI($minmax[0],$minmax[1],$numclasses,$myPalette->colorRGB);
  268 +
268 269 if (count($cls) != $numclasses){return("erro.");}
269 270 //adiciona o novo tema
270 271 if (file_exists($nomearq.".png")){
... ... @@ -2847,6 +2848,7 @@ array(
2847 2848 $pararray[] = $buffer;
2848 2849 }
2849 2850 fclose($abre);
  2851 +
2850 2852 $xsize = $pararray[0];
2851 2853 $ysize = $pararray[1];
2852 2854 $xdim = $pararray[2];
... ...