summaryrefslogtreecommitdiff
path: root/include/functions.php
diff options
context:
space:
mode:
Diffstat (limited to 'include/functions.php')
-rwxr-xr-xinclude/functions.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/functions.php b/include/functions.php
index 006d17a48..b29089832 100755
--- a/include/functions.php
+++ b/include/functions.php
@@ -714,8 +714,8 @@
if ($user_id && !$check_only) {
- session_regenerate_id(true);
session_start();
+ session_regenerate_id(true);
$_SESSION["uid"] = $user_id;
$_SESSION["version"] = VERSION_STATIC;