Fix ugly bug. Report by mariosipad.
This commit is contained in:
parent
1fbbfa3b00
commit
9e15cbf26c
1 changed files with 1 additions and 1 deletions
2
base.php
2
base.php
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue