Quote:
Originally Posted by demig
Hi,
Parse error: syntax error, unexpected T_FUNCTION, expecting ')' in /i-data/7647c487/calibre/book.php on line 211
|
The above does not correlate to the function mentioned below...?
Quote:
Originally Posted by demig
I have tried the previous version as well. The error in both cases points to the same sections of book.php i.e
public function getAuthorsName () {
return implode (", ", array_map (function ($author) { return $author->name; }, $this->getAuthors ()));
|
I have the mentioned function at line 235 so I am a little confused.
Barring any obscure error (fairly sure though that this part works like it should) Are there perhaps some weird characters involved in author names? (although that too seems just as unlikely a cause as a program error)
(Yowza, post count of all 1's, in binary that is

geek alert

)