mirror of
https://github.com/friendica/friendica
synced 2025-04-26 09:10:15 +00:00
Improve & fixing Tests
This commit is contained in:
parent
486f139342
commit
c293eadb78
7 changed files with 76 additions and 63 deletions
|
@ -50,8 +50,10 @@ class JitConfiguration extends Configuration
|
|||
|
||||
$config = $this->configModel->load($cat);
|
||||
|
||||
foreach ($config[$cat] as $key => $value) {
|
||||
$this->in_db[$cat][$key] = true;
|
||||
if (!empty($config[$cat])) {
|
||||
foreach ($config[$cat] as $key => $value) {
|
||||
$this->in_db[$cat][$key] = true;
|
||||
}
|
||||
}
|
||||
|
||||
// load the whole category out of the DB into the cache
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue