mirror of
https://github.com/e107inc/e107.git
synced 2025-08-04 13:47:31 +02:00
Fixes two errors from previous clean-up
This commit is contained in:
@@ -2,15 +2,12 @@
|
|||||||
/*
|
/*
|
||||||
* e107 website system
|
* e107 website system
|
||||||
*
|
*
|
||||||
* Copyright (C) 2008-2012 e107 Inc (e107.org)
|
* Copyright (C) 2008-2013 e107 Inc (e107.org)
|
||||||
* Released under the terms and conditions of the
|
* Released under the terms and conditions of the
|
||||||
* GNU General Public License (http://www.gnu.org/licenses/gpl.txt)
|
* GNU General Public License (http://www.gnu.org/licenses/gpl.txt)
|
||||||
*
|
*
|
||||||
* Forum e_list Handler
|
* Forum e_list Handler
|
||||||
*
|
*
|
||||||
* $URL$
|
|
||||||
* $Id$
|
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
if (!defined('e107_INIT')) { exit; }
|
if (!defined('e107_INIT')) { exit; }
|
||||||
|
|
||||||
@@ -61,13 +58,13 @@ class list_forum
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
if(!$results = $this->parent->$sql->gen($qry))
|
if(!$results = $this->parent->sql->gen($qry))
|
||||||
{
|
{
|
||||||
$list_data = LIST_FORUM_2;
|
$list_data = LIST_FORUM_2;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
$forumArray = $this->parent->e107->$sql->getList();
|
$forumArray = $this->parent->sql->db_getList();
|
||||||
$path = e_PLUGIN."forum/";
|
$path = e_PLUGIN."forum/";
|
||||||
|
|
||||||
foreach($forumArray as $forumInfo)
|
foreach($forumArray as $forumInfo)
|
||||||
|
Reference in New Issue
Block a user