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
public function __wakeup()
{
if (!is_array($this->_data['files'])) {
$this->_data['files'] = array();
}
foreach ($this->_data['files'] as &$file) {
if ($file['data']) {
continue;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment