fix PHP 4 compatibility errors
This commit is contained in:
parent
3afd1646ad
commit
7cc91aa787
@ -546,7 +546,8 @@ class ComicPressStoryline {
|
||||
function build_from_restrictions($restrictions = null) {
|
||||
global $post;
|
||||
|
||||
$this->read_from_options()->exclude_all();
|
||||
$this->read_from_options();
|
||||
$this->exclude_all();
|
||||
|
||||
$include_all = true;
|
||||
if (is_array($restrictions)) {
|
||||
|
@ -39,7 +39,8 @@ function F($name, $path, $override_post = null) {
|
||||
|
||||
$comic_post = new ComicPressComicPost(is_null($override_post) ? $post : $override_post);
|
||||
|
||||
return ComicPress::get_instance()->find_file($name, $path, $comic_post->find_parents());
|
||||
$comicpress = ComicPress::get_instance();
|
||||
return $comicpress->find_file($name, $path, $comic_post->find_parents());
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user