mirror of
https://github.com/e107inc/e107.git
synced 2025-08-06 14:46:56 +02:00
Prevent possible memory overload in Database > Export. Corrected {ALERTS} debug info when using theme.html.
This commit is contained in:
@@ -1828,9 +1828,9 @@ function table_list()
|
||||
|
||||
foreach($tables as $e107tab)
|
||||
{
|
||||
$count = e107::getDb()->gen("SELECT * FROM #".$e107tab);
|
||||
$count = (int) e107::getDb()->count($e107tab);
|
||||
|
||||
if($count)
|
||||
if(!empty($count))
|
||||
{
|
||||
$tabs[$e107tab] = $count;
|
||||
}
|
||||
|
Reference in New Issue
Block a user