I have installed an additional language on OCS 2.0.0-1. Everything seems to work fine except when I try to edit e-mail templates in both languages. When I click on the "Save" button, I get the following error (both working on Windows and Lynux):
Notice: Undefined variable: conference in C:\Archivos de programa\EasyPHP 2.0b1\www\ocs-2.0.0-1\classes\manager\form\EmailTemplateForm.inc.php on line 143
Fatal error: Call to a member function getSupportedLocaleNames() on a non-object in C:\Archivos de programa\EasyPHP 2.0b1\www\ocs-2.0.0-1\classes\manager\form\EmailTemplateForm.inc.php on line 143
The line mentioned in the error message reads:
- Code: Select all
foreach ($conference->getSupportedLocaleNames() as $localeKey => $localeName) {
and I *BELIEVE* (but do not speak php!) that it should read:
- Code: Select all
foreach ($this->conference->getSupportedLocaleNames() as $localeKey => $localeName) {
This makes sense to me and everything seems to work fine after making this change, but I do not *really* know what I am doing.
Would anyone be so kind as to confirm that this amendment is correct (or alternatively tell me to go and buy a php book and stop messing around with the code without really understanding what I am doing)?
Thanks so much!
Luis
