Skip to content

Commit 511e608

Browse files
committed
Fixed gc in session handler.
1 parent e73ad7d commit 511e608

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

interface/lib/classes/session.inc.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ function open ($save_path, $session_name) {
4343

4444
function close () {
4545

46-
if (!empty($this->fieldarray)) {
46+
if (!empty($this->session_array)) {
4747
$result = $this->gc(ini_get('session.gc_maxlifetime'));
4848
return $result;
4949
}

0 commit comments

Comments
 (0)