Not Solved Reporting a bug
#1
Not Solved
Found a bug in attachment.php

At Line 137: There's an extra "," at the end ['filename'] that needs deleting at the end of the following:

-----------------------------------------------------------------------------------------------------------------------------------
// basename isn't UTF-8 safe. This is a workaround.
$attachment['filename'] = ltrim(basename(' '.$attachment['filename']));

// prevent header omission by PHP's header()
$attachment['filename'] = str_replace(
array("\r", "\n", "\0"),
'',
$attachment['filename'],
);

-----------------------------------------------------------------------------------------------------------------------------------
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)