Fix ugly bug. Report by mariosipad.
This commit is contained in:
parent
1fbbfa3b00
commit
9e15cbf26c
2
base.php
2
base.php
|
@ -330,7 +330,7 @@ class Page
|
||||||
public function containsBook ()
|
public function containsBook ()
|
||||||
{
|
{
|
||||||
if (count ($this->entryArray) == 0) return false;
|
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;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue