fixed another posible session issue
This commit is contained in:
parent
7b1ccd839c
commit
3edea75fab
@ -45,7 +45,12 @@ class Crunchbutton_Session_Adapter extends Cana_Table {
|
|||||||
|
|
||||||
$sess = new Session_Adapter($id);
|
$sess = new Session_Adapter($id);
|
||||||
try {
|
try {
|
||||||
$this->save($sess->id_session ? null : $id);
|
if ($sess->id_session) {
|
||||||
|
$this->save();
|
||||||
|
} else {
|
||||||
|
$this->save($id);
|
||||||
|
}
|
||||||
|
|
||||||
} catch (Exception $e) {}
|
} catch (Exception $e) {}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user