1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-12 09:34:54 +02:00

Issue #6 LANS added. Clear system cache before checking for updates. Extra checks to e_parse to avoid possible errors.

This commit is contained in:
Cameron
2021-09-28 08:13:27 -07:00
parent c15adc1f20
commit 5ecc0beca6
6 changed files with 11 additions and 8 deletions

View File

@@ -5425,11 +5425,13 @@ class e_parse
require_once(e_PLUGIN . $hook . '/e_tohtml.php');
$hook_class = 'e_tohtml_' . $hook;
$this->e_hook[$hook] = new $hook_class;
if(class_exists($hook_class))
{
$this->e_hook[$hook] = new $hook_class;
}
}
if(is_object($this->e_hook[$hook]))
if(isset($this->e_hook[$hook]) && is_object($this->e_hook[$hook]))
{
/** @var e_tohtml_linkwords $deprecatedHook */
$deprecatedHook = $this->e_hook[$hook];