Loading sources/database.php +1 −1 Original line number Diff line number Diff line Loading @@ -158,7 +158,7 @@ function reload_lang_fields($full = false, $only_table = null) if ($only_table !== null) { $sql .= ' AND ' . db_string_equal_to('m_table', $only_table); } if (($msn_running) && (substr($only_table, 0, 2) === 'f_')) { if (($msn_running) && ($only_table !== null) && (substr($only_table, 0, 2) === 'f_')) { $_table_lang_fields = array(); // Optimisation, as it'll get overwritten anyway } else { $_table_lang_fields = $GLOBALS['SITE_DB']->query($sql, null, null, true); Loading Loading
sources/database.php +1 −1 Original line number Diff line number Diff line Loading @@ -158,7 +158,7 @@ function reload_lang_fields($full = false, $only_table = null) if ($only_table !== null) { $sql .= ' AND ' . db_string_equal_to('m_table', $only_table); } if (($msn_running) && (substr($only_table, 0, 2) === 'f_')) { if (($msn_running) && ($only_table !== null) && (substr($only_table, 0, 2) === 'f_')) { $_table_lang_fields = array(); // Optimisation, as it'll get overwritten anyway } else { $_table_lang_fields = $GLOBALS['SITE_DB']->query($sql, null, null, true); Loading