mirror of
https://github.com/e107inc/e107.git
synced 2025-08-01 04:10:38 +02:00
Fixes #4083 Column selector displaying improperly defined field.
Admin-UI: Multi-language database language only displays when a table match is found.
This commit is contained in:
@@ -867,6 +867,16 @@ class e_db_mysql implements e_db
|
||||
return $this->mySQLrows;
|
||||
}
|
||||
|
||||
/**
|
||||
* hasLanguage() alias
|
||||
* @deprecated
|
||||
*/
|
||||
function db_IsLang($table, $multiple=false)
|
||||
{
|
||||
return $this->hasLanguage($table, $multiple);
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* insert() alias
|
||||
* @deprecated
|
||||
@@ -1467,7 +1477,7 @@ class e_db_mysql implements e_db
|
||||
* @access private
|
||||
* @return mixed the name of the language table (eg. lan_french_news) or an array of all matching language tables. (with mprefix)
|
||||
*/
|
||||
function db_IsLang($table, $multiple=false)
|
||||
function hasLanguage($table, $multiple=false)
|
||||
{
|
||||
//When running a multi-language site with english included. English must be the main site language.
|
||||
// WARNING!!! FALSE is critical important - if missed, expect dead loop (prefs are calling db handler as well when loading)
|
||||
|
Reference in New Issue
Block a user