mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-08 11:11:39 +09:00
Add more safeguards for the possibility of an empty member_srl
This commit is contained in:
parent
57ab94187e
commit
5f7b4837dc
2 changed files with 6 additions and 2 deletions
|
|
@ -18,10 +18,10 @@ class SessionHelper
|
|||
/**
|
||||
* Constructor.
|
||||
*
|
||||
* @param int $member_srl
|
||||
* @param int $member_srl (optional)
|
||||
* @return void
|
||||
*/
|
||||
public function __construct($member_srl)
|
||||
public function __construct($member_srl = null)
|
||||
{
|
||||
// Load member information.
|
||||
$member_srl = intval($member_srl);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue