X-Git-Url: https://git.llucax.com/z.facultad/75.43/tp1.git/blobdiff_plain/b0907f802335d1360bde47860f24c7d60df0dad3..8a3b052629c04e959e97f69cd98dfe582c1175db:/src/lib/info.functions.php?ds=inline
diff --git a/src/lib/info.functions.php b/src/lib/info.functions.php
index c2d5c1e..91ed33f 100644
--- a/src/lib/info.functions.php
+++ b/src/lib/info.functions.php
@@ -268,6 +268,7 @@ function info_listador($header, $ObjetosAListar, $dataName = 'Items', $colspan =
if ($pos) $query = substr($query, 0, --$pos);
else $query = '';
}
+ $query = str_replace('&', '&', $query);
echo '
= 0) {
$from = $orig_from - $cant;
- $q = $query ? "$query&lista_from=$from" : "lista_from=$from";
+ $q = $query ? "$query&lista_from=$from" : "lista_from=$from";
printf('< ', $link, $q);
}
for ($i = 0; $i < $pags; ++$i)
@@ -287,12 +288,12 @@ function info_listador($header, $ObjetosAListar, $dataName = 'Items', $colspan =
} else {
$data = $i + 1;
}
- $q = $query ? "$query&lista_from=$from" : "lista_from=$from";
+ $q = $query ? "$query&lista_from=$from" : "lista_from=$from";
printf('%s ', $link, $q, $data);
}
if ( ($orig_from + $cant) <= $total ) {
$from = $orig_from + $cant;
- $q = $query ? "$query&lista_from=$from" : "lista_from=$from";
+ $q = $query ? "$query&lista_from=$from" : "lista_from=$from";
printf('> ', $link, $q);
}
echo ' |
';