mirror of
https://github.com/slawkens/myaac.git
synced 2025-04-26 09:19:22 +02:00
* some fixes to the revalidateCache function
This commit is contained in:
parent
ba8d56f6ab
commit
ffa3bed620
@ -207,7 +207,11 @@ class OTS_DB_MySQL extends OTS_Base_DB
|
||||
|
||||
foreach($this->has_column_cache as $key => $value) {
|
||||
$explode = explode('.', $key);
|
||||
if(isset($this->has_table_cache[$explode[0]]) && $this->has_table_cache[$explode[0]]) {// first check if table exist
|
||||
if(!isset($this->has_table_cache[$explode[0]])) { // first check if table exist
|
||||
$this->hasTableInternal($explode[0]);
|
||||
}
|
||||
|
||||
if($this->has_table_cache[$explode[0]]) {
|
||||
$this->hasColumnInternal($explode[0], $explode[1]);
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user