X-Git-Url: https://git.llucax.com/mecon/meconlib.git/blobdiff_plain/236c9ef7e3c701d95136f7babc131a1ce9cd1c83..06cd54ffd3f4a2641a10db316fb08d42c3b8b5ea:/lib/MECON/PDF/Separador.php diff --git a/lib/MECON/PDF/Separador.php b/lib/MECON/PDF/Separador.php index e576104..5ca5618 100644 --- a/lib/MECON/PDF/Separador.php +++ b/lib/MECON/PDF/Separador.php @@ -59,7 +59,7 @@ class MECON_PDF_Separador extends MECON_PDF_Contenido { */ function MECON_PDF_Separador($altura = 27, $linea = false) { $this->_alto = $altura; - $this->_linea = $linea; + $this->_linea = $linea; } /** @@ -73,9 +73,9 @@ class MECON_PDF_Separador extends MECON_PDF_Contenido { function toPDF(&$MARCO) { if($this->_linea) $MARCO->addLine(0, - $MARCO->espacioDisponible - $this->_alto/2, - $MARCO->getWidth(), - $MARCO->espacioDisponible - $this->_alto/2); + $MARCO->espacioDisponible - $this->_alto/2, + $MARCO->getWidth(), + $MARCO->espacioDisponible - $this->_alto/2); $MARCO->espacioDisponible -= $this->_alto; } }