From 55141154c083acc2d0397f4c62b4e0be1c7a19fa Mon Sep 17 00:00:00 2001 From: Bot Date: Tue, 3 Jan 2017 14:12:17 +0100 Subject: Replaced " with ' --- includes/controller/shifttypes_controller.php | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'includes/controller/shifttypes_controller.php') diff --git a/includes/controller/shifttypes_controller.php b/includes/controller/shifttypes_controller.php index 08576641..55bea389 100644 --- a/includes/controller/shifttypes_controller.php +++ b/includes/controller/shifttypes_controller.php @@ -41,7 +41,7 @@ function shifttype_delete_controller() } return [ - sprintf(_("Delete shifttype %s"), $shifttype['name']), + sprintf(_('Delete shifttype %s'), $shifttype['name']), ShiftType_delete_view($shifttype) ]; } @@ -54,9 +54,9 @@ function shifttype_delete_controller() function shifttype_edit_controller() { $shifttype_id = null; - $name = ""; + $name = ''; $angeltype_id = null; - $description = ""; + $description = ''; $angeltypes = AngelTypes(); @@ -85,7 +85,7 @@ function shifttype_edit_controller() error(_('Please enter a name.')); } - if (isset($_REQUEST['angeltype_id']) && preg_match("/^[0-9]+$/", $_REQUEST['angeltype_id'])) { + if (isset($_REQUEST['angeltype_id']) && preg_match('/^[0-9]+$/', $_REQUEST['angeltype_id'])) { $angeltype_id = $_REQUEST['angeltype_id']; } else { $angeltype_id = null; @@ -157,7 +157,7 @@ function shifttypes_list_controller() { $shifttypes = ShiftTypes(); if ($shifttypes === false) { - engelsystem_error("Unable to load shifttypes."); + engelsystem_error('Unable to load shifttypes.'); } return [ @@ -173,7 +173,7 @@ function shifttypes_list_controller() */ function shifttypes_title() { - return _("Shifttypes"); + return _('Shifttypes'); } /** -- cgit v1.2.3-70-g09d2