Invalid parameters for get_config()

Issue #1 resolved
Former user created an issue

There are three places where the module configuration is loaded via

$config = get_config('amanote');

However, that seems to be wrong as the settings.php (correctly) saves the setting into the "mod_amanote" component. So the correct code should be

$config = get_config('mod_amanote');

This is the reason for the PHP notice shown when adding a new module instance - which I believe you would notice if you had developer debugging mode on.

Comments (2)

  1. Log in to comment