Revize c2e44ab0
Přidáno uživatelem Michal Kliment před více než 9 roky(ů)
system/libraries/ORM.php | ||
---|---|---|
$cache[$column_name] = ($this->db->query("
|
||
SELECT COUNT(*) AS count
|
||
FROM INFORMATION_SCHEMA.COLUMNS
|
||
WHERE table_name = " . $this->db->escape($this->table_name) . "
|
||
WHERE table_schema LIKE " . $this->db->escape(Config::get('db_name')) . "
|
||
AND table_name LIKE " . $this->db->escape($this->table_name) . "
|
||
AND column_name LIKE " . $this->db->escape($column_name) . "
|
||
")->current()->count == 1);
|
||
// get result
|
Také k dispozici: Unified diff
Release 1.0.12