# HG changeset patch # User Matti Hamalainen # Date 1382076321 -10800 # Node ID 1f34037a7cae17a5da82ddfc82c3a8cc0f4e9abb # Parent 4d32e870dda7b692e20889572f2092ef4345da07 Set some default parameters. diff -r 4d32e870dda7 -r 1f34037a7cae msession.inc.php --- a/msession.inc.php Thu Oct 17 22:44:41 2013 +0300 +++ b/msession.inc.php Fri Oct 18 09:05:21 2013 +0300 @@ -125,7 +125,7 @@ } -function stAdmSessionAuth($silent) +function stAdmSessionAuth($silent = FALSE) { if (@session_start() === TRUE && stGetSpecSessionItem(SESS_ADMIN, "key", FALSE) == stGetSetting("admPassword")) @@ -141,7 +141,7 @@ } -function stUserSessionAuth($silent) +function stUserSessionAuth($silent = FALSE) { if (@session_start() === TRUE && stGetSpecSessionItem(SESS_USER, "key", FALSE) !== FALSE)