mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-06-21 09:35:49 +02:00
Fixed Travis errors.
This commit is contained in:
parent
55b00c7f22
commit
84d268aba3
8 changed files with 13 additions and 12 deletions
|
@ -120,7 +120,7 @@ abstract class BaseAdminController extends AbstractController
|
|||
$timeTravel_timestamp = null;
|
||||
if ($timestamp !== null) {
|
||||
$this->denyAccessUnlessGranted('@tools.timeTravel');
|
||||
$this->denyAccessUnlessGranted('show_history', $part);
|
||||
$this->denyAccessUnlessGranted('show_history', $entity);
|
||||
//If the timestamp only contains numbers interpret it as unix timestamp
|
||||
if (ctype_digit($timestamp)) {
|
||||
$timeTravel_timestamp = new \DateTime();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue