Skip to content

Commit

Permalink
Fix fopen() call
Browse files Browse the repository at this point in the history
  • Loading branch information
slusarz committed Mar 24, 2014
1 parent a6b5508 commit dd5eba1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion imp/lib/Compose/Attachment/Storage.php
Expand Up @@ -89,7 +89,7 @@ public function __get($name)
public function read()
{
return (isset($this->_tmpfile) && is_readable($this->_tmpfile))
? new Horde_Stream_Existing(array('stream' => fopen($this->_tmpfile)))
? new Horde_Stream_Existing(array('stream' => fopen($this->_tmpfile, 'r')))
: $this->_read();
}

Expand Down

0 comments on commit dd5eba1

Please sign in to comment.