Skip to content
Snippets Groups Projects
Commit ec78cd63 authored by Tim Steiner's avatar Tim Steiner
Browse files

Fix a bug that prevents the session from loading in rare cases.

parent 222e7d9b
No related branches found
No related tags found
No related merge requests found
...@@ -771,6 +771,9 @@ class Requests_RequestModel extends Unl_Model ...@@ -771,6 +771,9 @@ class Requests_RequestModel extends Unl_Model
public function __wakeup() public function __wakeup()
{ {
if (!is_array($this->_data['files'])) {
$this->_data['files'] = array();
}
foreach ($this->_data['files'] as &$file) { foreach ($this->_data['files'] as &$file) {
if ($file['data']) { if ($file['data']) {
continue; continue;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment