mirror of
https://github.com/e107inc/e107.git
synced 2025-07-31 20:00:37 +02:00
Fix fatal error in PHP8 that occurred when building a plugin without database tables. Developer mode alert now uses the {ALERTS} shortcode for greater control of placement.
This commit is contained in:
@@ -2694,7 +2694,7 @@ class pluginBuilder
|
||||
$text .= "<ul class='nav nav-tabs'>\n";
|
||||
$text .= "<li class='active'><a data-toggle='tab' data-bs-toggle='tab' href='#xml'>".EPL_ADLAN_109."</a></li>";
|
||||
|
||||
$this->tableCount = count($ret['tables']);
|
||||
$this->tableCount = !empty($ret['tables']) ? count($ret['tables']) : 0;
|
||||
|
||||
if(!empty($ret['tables']))
|
||||
{
|
||||
|
Reference in New Issue
Block a user