1
0
mirror of https://github.com/e107inc/e107.git synced 2025-07-31 11:50:30 +02:00

Update download_class.php

This commit is contained in:
rica-carv
2025-03-27 20:13:11 +00:00
committed by GitHub
parent 62bd55ad09
commit f6989d795b

View File

@@ -269,6 +269,7 @@ class download
{
$template = e107::getTemplate('download','download','categories');
$DOWNLOAD_CAT_CAPTION = $template['caption'];
$DOWNLOAD_CAT_TABLE_START = varset($template['start']);
$DOWNLOAD_CAT_PARENT_TABLE = $template['parent'];
$DOWNLOAD_CAT_CHILD_TABLE = $template['child'];
@@ -281,6 +282,7 @@ class download
}
else // Legacy v1.x
{
$DOWNLOAD_CAT_CAPTION = null;
$DOWNLOAD_CAT_TABLE_START = null;
$DOWNLOAD_CAT_PARENT_TABLE = null;
$DOWNLOAD_CAT_CHILD_TABLE = null;