diff --git a/application/modules/requests/models/RequestModel.php b/application/modules/requests/models/RequestModel.php index e26d93aaebd50a8d4b496ed6c54686f7321044d3..dd92621b79cead86fbe0dcb0c648570e301a7ba5 100644 --- a/application/modules/requests/models/RequestModel.php +++ b/application/modules/requests/models/RequestModel.php @@ -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;