Commit d0117867 authored by Elmer Mendoza's avatar Elmer Mendoza
Browse files

Trim de cadenas

parent 708ca043
......@@ -31,7 +31,7 @@ $app->post('/{formato_entrada:(dbf)}/{formato_salida:(json)}', function($formato
{
$campo = $columna['name'];
$valor = $fila[$campo];
$fila[$campo] = mb_convert_encoding($valor, $codificacion);
$fila[$campo] = trim(mb_convert_encoding($valor, $codificacion));
}
}
$tabla[] = $fila;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment