mirror of
https://github.com/IT4Change/gradido.git
synced 2026-04-06 01:25:28 +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 {
|
} else {
|
||||||
$this->Flash->error(__('Something was invalid, please try again!'));
|
$this->Flash->error(__('Something was invalid, please try again!'));
|
||||||
}
|
}
|
||||||
$timeUsed = microtime(true) - $startTime;
|
|
||||||
$this->set('finalUserEntrys', $finalUserEntrys);
|
$this->set('finalUserEntrys', $finalUserEntrys);
|
||||||
$this->set('timeUsed', $timeUsed);
|
|
||||||
}
|
}
|
||||||
|
$timeUsed = microtime(true) - $startTime;
|
||||||
|
$this->set('timeUsed', $timeUsed);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@ -67,7 +67,7 @@ $this->loadHelper('Form', [
|
|||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
<?php else : ?>
|
<?php elseif(isset($finalUserEntrys)) : ?>
|
||||||
<div class="grid-body py-3">
|
<div class="grid-body py-3">
|
||||||
<p class="grid-header"><?= __('Keine Benutzer gefunden') ?></p>
|
<p class="grid-header"><?= __('Keine Benutzer gefunden') ?></p>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user