center-for-learning-management / moodle-local_edusupport

Plugin to manage a moodle based helpdesk
GNU General Public License v3.0
4 stars 3 forks source link

invalid string Browse_org,local_eduvidual #49

Closed tmuras closed 2 years ago

tmuras commented 2 years ago

https://github.com/center-for-learning-management/moodle-local_edusupport/blob/master/templates/injectbutton.mustache#L57 is causing this warning:

PHP message: Debugging: Invalid get_string() identifier: 'Browse_org' or component 'local_eduvidual'. Perhaps you are missing $string['Browse_org'] = ''; in /lang/en/local_eduvidual.php? in 
* line 353 of /lib/classes/string_manager_standard.php: call to debugging()
* line 7460 of /lib/moodlelib.php: call to core_string_manager_standard->get_string()
* line 76 of /lib/classes/output/mustache_string_helper.php: call to get_string()
* line ? of unknownfile: call to core\output\mustache_string_helper->str()
* line 82 of /lib/classes/output/mustache_helper_collection.php: call to call_user_func()
* line 75 of /data/localcache/mustache/1632835792/workplace_giz/__Mustache_1e0e194ee6e1cb9d72bf7f8a7c4bfc34.php: call to core\output\mustache_helper_collection->core\output\{closure}()
* line 288 of /data/localcache/mustache/1632835792/workplace_giz/__Mustache_1e0e194ee6e1cb9d72bf7f8a7c4bfc34.php: call to __Mustache_1e0e194ee6e1cb9d72bf7f8a7c4bfc34->section2

I think that line can be safely removed.

rschrenk commented 2 years ago

yes, indeed.