Create config screen for reCAPTCHA in spamfilter module

This commit is contained in:
Kijin Sung 2020-10-01 14:42:07 +09:00
parent 9c60a8932c
commit c7c03d3c37
13 changed files with 283 additions and 30 deletions

View file

@ -19,7 +19,7 @@ class spamfilterModel extends spamfilter
*/
function getConfig()
{
return ModuleModel::getModuleConfig('spamfilter');
return ModuleModel::getModuleConfig('spamfilter') ?: new stdClass;
}
/**