diff --git a/includes/pages/user_shifts.php b/includes/pages/user_shifts.php
index 1fdaf775..c8633cc5 100644
--- a/includes/pages/user_shifts.php
+++ b/includes/pages/user_shifts.php
@@ -551,7 +551,7 @@ function view_user_shifts() {
$shifts_row .= " – ";
$shifts_row .= date('H:i', $shift['end']);
$shifts_row .= "
";
- $shifts_row .= $shift['name'];
+ $shifts_row .= '' . $shift['name'] . '';
$shifts_row .= "
";
$shifts_row .= '' . $shift['name'] . '';
$shifts_row .= "
";