1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-10 00:27:45 +02:00

PHP 7.3 fixes.

This commit is contained in:
Cameron
2019-02-07 17:12:23 -08:00
parent b56f81fa23
commit d4134c7f89
2 changed files with 16 additions and 5 deletions

View File

@@ -167,7 +167,14 @@ class e_session
$this->setOptions(array($key => $value));
return $this;
}
public function getOptions()
{
return $this->_options;
}
/**
* Get session option
* @param string $key
@@ -416,10 +423,14 @@ class e_session
break;
default:
continue;
$v = null;
break;
}
$this->_options[$k] = $v;
if($v !== null)
{
$this->_options[$k] = $v;
}
}
return $this;
}