basename error in wp2pdf_includes line 1125
Status: Beta
Brought to you by:
rfouquet
When trying to convert a blog post, with a gif,
remotely hosted, wp2pdf_includes gave an error on line
1125, about "basename" expecting a string, but
receiving a resource.
I fixed the problem by changing the following line:
$dest=basename($img,".gif").".gif.jpg";
to:
$dest=basename($attr['SRC'],".gif").".gif.jpg";
(Patch attached)
- David
Patch for basename behaviour