mirror of
https://github.com/devcode-it/openstamanager.git
synced 2025-06-05 22:09:38 +02:00
fix: navigazione record per moduli custom
This commit is contained in:
@@ -186,6 +186,7 @@ if (empty($record) || !$has_access) {
|
||||
$posizioni = $module_query ? $dbo->fetchArray($module_query) : 0;
|
||||
$key = $posizioni ? array_search($id_record, array_column($posizioni, 'id')) : 0;
|
||||
|
||||
if (is_array($posizioni)) {
|
||||
// Precedente
|
||||
$prev = $posizioni[$key - 1]['id'];
|
||||
|
||||
@@ -205,6 +206,7 @@ if (empty($record) || !$has_access) {
|
||||
</a>
|
||||
</div>
|
||||
</span>';
|
||||
}
|
||||
|
||||
echo '<div class="extra-buttons d-sm-inline">';
|
||||
|
||||
|
Reference in New Issue
Block a user