mirror of
https://github.com/friendica/friendica
synced 2025-05-26 04:24:13 +02:00
Add conditional help text for disabled fields
This commit is contained in:
parent
76f3b07033
commit
fa9c3d40be
6 changed files with 11 additions and 6 deletions
|
@ -83,7 +83,7 @@ class DatabaseConfig implements IManageConfigValues
|
|||
/** {@inheritDoc} */
|
||||
public function isSetDisabled(string $cat, string $key): bool
|
||||
{
|
||||
return $this->cache->getSource($cat, $key) >= Cache::SOURCE_ENV;
|
||||
return $this->cache->getSource($cat, $key) >= 0;
|
||||
}
|
||||
|
||||
/** {@inheritDoc} */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue