Fix ugly bug. Report by mariosipad.

This commit is contained in:
Sébastien Lucas 2013-01-29 09:03:30 +01:00
parent 1fbbfa3b00
commit 9e15cbf26c
1 changed files with 1 additions and 1 deletions

View File

@ -330,7 +330,7 @@ class Page
public function containsBook ()
{
if (count ($this->entryArray) == 0) return false;
if (get_class ($this->entryArray [1]) == "EntryBook") return true;
if (get_class ($this->entryArray [0]) == "EntryBook") return true;
return false;
}