diff --git a/e107_admin/prefs.php b/e107_admin/prefs.php index 34cb2cda9..8c655c936 100644 --- a/e107_admin/prefs.php +++ b/e107_admin/prefs.php @@ -1997,7 +1997,9 @@ foreach($libraries as $machineName => $library) $text .= ''; $text .= '' . $name . ''; $text .= '' . $provider . ''; - $text .= '' . varset($details['library_path']) . ''; + $text .= '' . varset($details['library_path']); + $text .= !empty($details['path']) ? '/'. $details['path'] : ''; + $text .= ''; $text .= '' . varset($details['version']) . ''; $text .= '' . $status . ''; $text .= '' . varset($details['error_message']) . ''; diff --git a/e107_plugins/hero/hero_setup.php b/e107_plugins/hero/hero_setup.php index 0ae3a7a47..7264aab49 100644 --- a/e107_plugins/hero/hero_setup.php +++ b/e107_plugins/hero/hero_setup.php @@ -30,7 +30,7 @@ if(!class_exists("hero_setup")) { if(!e107::getDb()->isEmpty('hero')) { - return null; + return null; } $ret = e107::getXml(true)->e107Import(e_PLUGIN."hero/xml/install.xml");