diff --git a/app/controller/SmsController.php b/app/controller/SmsController.php index ecd2d64..4eaf487 100644 --- a/app/controller/SmsController.php +++ b/app/controller/SmsController.php @@ -173,7 +173,7 @@ class SmsController $uuid = uniqid('', true); $uuid = md5($uuid); - $uuid = substr($uuid, 0, 8) . ' - ' . substr($uuid, 8, 4) . ' - ' . substr($uuid, 12, 4) . ' - ' . substr($uuid, 16, 4) . ' - ' . substr($uuid, 20, 12); + $uuid = substr($uuid, 0, 8) . '-' . substr($uuid, 8, 4) . '-' . substr($uuid, 12, 4) . '-' . substr($uuid, 16, 4) . '-' . substr($uuid, 20, 12); $uuidExist = SmsApp::where('app_uuid', $uuid)->first(); if ($uuidExist) {