mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-29 06:38:52 +00:00
git-svn-id: file:///svn/phpbb/trunk@7105 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
65774f4e51
commit
bbd8a98648
1 changed files with 2 additions and 3 deletions
|
@ -172,7 +172,7 @@ if (!$get_info)
|
|||
WHERE config_name = 'upload_dir'";
|
||||
$result = $src_db->sql_query($sql);
|
||||
|
||||
if ($result && $row = $db->sql_fetchrow($result))
|
||||
if ($result && $row = $src_db->sql_fetchrow($result))
|
||||
{
|
||||
// Here the constant is defined
|
||||
define('MOD_ATTACHMENT', true);
|
||||
|
@ -184,9 +184,8 @@ if (!$get_info)
|
|||
'extensions',
|
||||
'extension_groups'
|
||||
);
|
||||
|
||||
$db->sql_freeresult($result);
|
||||
}
|
||||
$src_db->sql_freeresult($result);
|
||||
|
||||
/**
|
||||
* Tests for further MODs can be included here.
|
||||
|
|
Loading…
Add table
Reference in a new issue