forked from mirrors/easyappointments
Add the appointment has in the stored "dest_url" value when trying to access the calendar page without being logged in first (#804).
This commit is contained in:
parent
f122d1ea20
commit
65d3243986
1 changed files with 1 additions and 1 deletions
|
@ -73,7 +73,7 @@ class Backend extends CI_Controller {
|
||||||
*/
|
*/
|
||||||
public function index($appointment_hash = '')
|
public function index($appointment_hash = '')
|
||||||
{
|
{
|
||||||
$this->session->set_userdata('dest_url', site_url('backend'));
|
$this->session->set_userdata('dest_url', site_url('backend/index' . (!empty($appointment_hash) ? '/' . $appointment_hash : '')));
|
||||||
|
|
||||||
if ( ! $this->has_privileges(PRIV_APPOINTMENTS))
|
if ( ! $this->has_privileges(PRIV_APPOINTMENTS))
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue