mirror of
https://github.com/IT4Change/gradido.git
synced 2025-12-13 07:45:54 +00:00
fix display error by empty array
This commit is contained in:
parent
8663ae861c
commit
9eeed3f9ee
@ -210,10 +210,11 @@ class StateUsersController extends AppController
|
||||
} else {
|
||||
$this->Flash->error(__('Something was invalid, please try again!'));
|
||||
}
|
||||
$timeUsed = microtime(true) - $startTime;
|
||||
|
||||
$this->set('finalUserEntrys', $finalUserEntrys);
|
||||
$this->set('timeUsed', $timeUsed);
|
||||
}
|
||||
$timeUsed = microtime(true) - $startTime;
|
||||
$this->set('timeUsed', $timeUsed);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@ -67,7 +67,7 @@ $this->loadHelper('Form', [
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<?php else : ?>
|
||||
<?php elseif(isset($finalUserEntrys)) : ?>
|
||||
<div class="grid-body py-3">
|
||||
<p class="grid-header"><?= __('Keine Benutzer gefunden') ?></p>
|
||||
</div>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user