mirror of
https://github.com/e107inc/e107.git
synced 2025-01-17 20:58:30 +01:00
Fixes #151 - two more typo's causing errors (forum and list_new)
This commit is contained in:
parent
f1c41828f1
commit
209e884ab7
@ -770,7 +770,7 @@ class e107forum
|
||||
function postDeleteAttachments($type = 'post', $id='', $f='')
|
||||
{
|
||||
$e107 = e107::getInstance();
|
||||
$sql = $e107::getDb();
|
||||
$sql = e107::getDb();
|
||||
|
||||
$id = (int)$id;
|
||||
if(!$id) { return; }
|
||||
@ -1065,7 +1065,7 @@ class e107forum
|
||||
|
||||
function forum_getforums($type = 'all')
|
||||
{
|
||||
$e107::getDb();
|
||||
$sql = e107::getDb();
|
||||
$qry = "
|
||||
SELECT f.*, u.user_name FROM #forum AS f
|
||||
LEFT JOIN #user AS u ON SUBSTRING_INDEX(f.forum_lastpost_user,'.',1) = u.user_id
|
||||
|
@ -203,7 +203,7 @@ class listclass
|
||||
*/
|
||||
function getContentSections($mode='')
|
||||
{
|
||||
$sql = $e107::getDb();
|
||||
$sql = e107::getDb();
|
||||
global $pref;
|
||||
|
||||
if (!$content_install = isset($pref['plug_installed']['content']))
|
||||
|
Loading…
x
Reference in New Issue
Block a user