mirror of
https://github.com/e107inc/e107.git
synced 2025-08-22 14:13:03 +02:00
Closes #4483 - Only install data into empty table. Fix for bootstrap5 carousel.
This commit is contained in:
@@ -28,6 +28,11 @@ if(!class_exists("hero_setup"))
|
||||
*/
|
||||
function install_post($var)
|
||||
{
|
||||
if(!e107::getDb()->isEmpty('hero'))
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
$ret = e107::getXml(true)->e107Import(e_PLUGIN."hero/xml/install.xml");
|
||||
|
||||
if(!empty($ret['success']))
|
||||
|
Reference in New Issue
Block a user