diff --git a/app/BaseController.php b/app/BaseController.php index 72e1aeb..8451177 100644 --- a/app/BaseController.php +++ b/app/BaseController.php @@ -161,9 +161,11 @@ abstract class BaseController } else { if ($jump_to_url instanceof Url) { - $jump_to_url = $jump_to_url; + $jump_to_url = (string)$jump_to_url; } else { - $jump_to_url = url($jump_to_url); + if (strpos($jump_to_url, 'http') !== 0) { + $jump_to_url = url($jump_to_url); + } } }