Update users.blade.php

This commit is contained in:
Julian Prieber 2023-02-15 16:22:22 +01:00
parent 5c26f1e8ab
commit 43dc168ced
1 changed files with 2 additions and 2 deletions

View File

@ -49,8 +49,8 @@
<tbody>
@foreach($users as $user)
<?php
$dateString = $user->created_at;
$date = date('d.m.Y', strtotime($dateString));
$date = date('d.m.Y', strtotime($user->created_at));
if(!isset($user->created_at)){$date = "NULL";}
?>
<tr>
<td data-id>{{ $user->id }}</td>