@@ -33,7 +33,7 @@ |
||
| 33 | 33 | if ($attributes) { |
| 34 | 34 | return $this->db->prepare($statement, $attributes, \str_replace('Table', 'Entity', \get_called_class()), $one); |
| 35 | 35 | } |
| 36 | - return $this->db->query($statement, \str_replace('Table', 'Entity', \get_called_class()), $one); |
|
| 36 | + return $this->db->query($statement, \str_replace('Table', 'Entity', \get_called_class()), $one); |
|
| 37 | 37 | } |
| 38 | 38 | |
| 39 | 39 | /** |
@@ -64,9 +64,9 @@ |
||
| 64 | 64 | setlocale(LC_TIME, 'fr', 'fr_FR', 'fr_FR.ISO8859-1'); |
| 65 | 65 | |
| 66 | 66 | $date = \strtotime($date); |
| 67 | - $day = strftime("%d ", $date); |
|
| 68 | - $day .= ucfirst(strftime("%B ", $date)); |
|
| 69 | - return $day .= strftime("%G", $date); |
|
| 67 | + $day = strftime("%d ", $date); |
|
| 68 | + $day .= ucfirst(strftime("%B ", $date)); |
|
| 69 | + return $day .= strftime("%G", $date); |
|
| 70 | 70 | } |
| 71 | 71 | |
| 72 | 72 | /** |
@@ -47,7 +47,7 @@ |
||
| 47 | 47 | <li class="page-item <?= $i == $page ? ' active' : null; ?>" <?= $i == $page ? ' arria-current="page"' : null ?>> |
| 48 | 48 | <a class="page-link" href="?p=<?= $queryString; ?><?= '.' . $i; ?>"><?= $i; ?></a> |
| 49 | 49 | </li> |
| 50 | - <?php endfor; ?> |
|
| 50 | + <?php endfor; ?> |
|
| 51 | 51 | <?php if (empty($next)) : ?> |
| 52 | 52 | <li class="page-item<?= $next ?>"> |
| 53 | 53 | <a class="page-link" href="?p=<?= $queryString; ?><?= '.' . ($page + 1); ?>">»</a> |