Skip to content

Commit

Permalink
Fix order of args
Browse files Browse the repository at this point in the history
  • Loading branch information
slusarz committed Feb 26, 2015
1 parent c75527c commit ba4d9b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion framework/Mime/lib/Horde/Mime/Part.php
Original file line number Diff line number Diff line change
Expand Up @@ -1629,7 +1629,7 @@ protected function _writeStream($data, $options = array())
}

if (!empty($options['error'])) {
set_error_handler(function($errstr, $errno) {
set_error_handler(function($errno, $errstr) {
throw new ErrorException($errstr, $errno);
});
$error = null;
Expand Down

0 comments on commit ba4d9b4

Please sign in to comment.