On row 90 in bookpost.module,v 1.1 2008/10/07 14:53:34 there are the following lines.
//clean ISBN of dashes and spaces
$isbn = str_replace("-", "", $isbn);
$isbn = str_replace("-", "", $isbn); => Dashes again?
Shouldn't the second replace be:
$isbn = str_replace(" ", "", $isbn); => Remove spaces.
Or am I not understanding the code?
When writing {{0800636 99 6}} the book information is not fetched.
/Carl
Comments
Comment #1
rubinsztajn commentedThanks kalle, I missed that typo. I've committed the fix.