Version 2.0.2
This commit is contained in:
6
ext.php
6
ext.php
@@ -52,7 +52,7 @@ class ext extends \phpbb\extension\base
|
||||
}
|
||||
|
||||
$php_ext = $this->container->getParameter('core.php_ext');
|
||||
$error_msg = $lang->lang('MCHAT_30X_REMNANTS', $table_prefix, implode(', ', $module_ids)) . adm_back_link(append_sid('index.' . $php_ext, 'i=acp_extensions&mode=main'));
|
||||
$error_msg = $lang->lang('MCHAT_30X_REMNANTS', $table_prefix, implode($lang->lang('COMMA_SEPARATOR'), $module_ids)) . adm_back_link(append_sid('index.' . $php_ext, 'i=acp_extensions&mode=main'));
|
||||
|
||||
trigger_error($error_msg, E_USER_WARNING);
|
||||
}
|
||||
@@ -65,7 +65,7 @@ class ext extends \phpbb\extension\base
|
||||
* This method checks whether the phpbb_modules table contains remnants of the 3.0 MOD.
|
||||
* It returns an array of the modules' IDs, or an empty array if no old modules are found.
|
||||
*
|
||||
* @var string $table_prefix
|
||||
* @param string $table_prefix
|
||||
* @return array
|
||||
*/
|
||||
protected function get_old_module_ids($table_prefix)
|
||||
@@ -84,7 +84,7 @@ class ext extends \phpbb\extension\base
|
||||
FROM ' . $table_prefix . 'modules
|
||||
WHERE ' . $db->sql_in_set('module_langname', $mchat_30x_module_langnames);
|
||||
$result = $db->sql_query($sql);
|
||||
$rows = $db->sql_fetchrowset();
|
||||
$rows = $db->sql_fetchrowset($result);
|
||||
$db->sql_freeresult($result);
|
||||
|
||||
$module_ids = array();
|
||||
|
||||
Reference in New Issue
Block a user