Fix systematic errors in pagination, sucursal warnings, and fatal count() errors across multiple modules
This commit is contained in:
@@ -347,7 +347,7 @@ class Comprobante extends Main
|
||||
$pac = new Pac;
|
||||
$response = $pac->GetCfdi($user, $pw, $zipFile, $root, $signedFile, $infEmp["empresaId"]);
|
||||
|
||||
$resp = split('#',$response);
|
||||
$resp = explode('#',$response);
|
||||
|
||||
if($resp[0] == "fault")
|
||||
{
|
||||
@@ -1462,7 +1462,7 @@ class PDF_ImageAlpha extends PDF{
|
||||
{
|
||||
$filter=($this->compress) ? '/Filter /FlateDecode ' : '';
|
||||
reset($this->images);
|
||||
while(list($file,$info)=each($this->images))
|
||||
foreach($this->images as $file => $info)
|
||||
{
|
||||
$this->_newobj();
|
||||
$this->images[$file]['n']=$this->n;
|
||||
|
||||
Reference in New Issue
Block a user