View Single Post
Old 01-05-2014, 10:40 PM   #742
At_Libitum
Addict
At_Libitum ought to be getting tired of karma fortunes by now.At_Libitum ought to be getting tired of karma fortunes by now.At_Libitum ought to be getting tired of karma fortunes by now.At_Libitum ought to be getting tired of karma fortunes by now.At_Libitum ought to be getting tired of karma fortunes by now.At_Libitum ought to be getting tired of karma fortunes by now.At_Libitum ought to be getting tired of karma fortunes by now.At_Libitum ought to be getting tired of karma fortunes by now.At_Libitum ought to be getting tired of karma fortunes by now.At_Libitum ought to be getting tired of karma fortunes by now.At_Libitum ought to be getting tired of karma fortunes by now.
 
Posts: 265
Karma: 724240
Join Date: Aug 2013
Device: KyBook
Quote:
Originally Posted by demig View Post
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 View Post
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 )
At_Libitum is offline   Reply With Quote