1
0
mirror of https://github.com/e107inc/e107.git synced 2025-04-21 05:02:02 +02:00

BC Fix for when $NEWSLISTSTYLE is used.

This commit is contained in:
Cameron 2014-01-20 04:15:59 -08:00
parent 8796039d08
commit c0ea76bbe6
2 changed files with 4 additions and 1 deletions

View File

@ -17,6 +17,9 @@ if (!defined('e107_INIT')) { exit; }
class parseXml extends xmlClass // BC with v1.x
{
private $xmlData = array();
private $counterArray = array();
function __construct()
{
$data = debug_backtrace(true);

View File

@ -257,7 +257,7 @@ if ($action == 'cat' || $action == 'all' || vartrue($_GET['tag']))
if(vartrue($NEWSLISTSTYLE)) // Legacy v1.x
{
$template = $NEWSLISTSTYLE;
$template = array('start'=>'', 'item'=>$NEWSLISTSTYLE, 'end'=>'');
}
else // v2.x
{