mirror of
https://github.com/devcode-it/openstamanager.git
synced 2025-02-17 03:51:06 +01:00
Merge branch 'master' of https://github.com/devcode-it/openstamanager
This commit is contained in:
commit
0c73a98272
@ -116,7 +116,7 @@ function orderValue($table, $field, $id)
|
||||
*/
|
||||
function reorderRows($table, $field, $id)
|
||||
{
|
||||
$righe = database()->select($table, 'id', [$field => $id]);
|
||||
$righe = database()->select($table, 'id', [$field => $id], ['order' => 'ASC']);
|
||||
$i = 1;
|
||||
|
||||
foreach ($righe as $riga) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user