Summary:
get_search_module() generates error when adding/editing item
Detailed Description:
Using an older version of CMSMS and ModuleGenerator, but I thought this might be
helpful if anyone else has the same issue.
CMSMS 1.9.4.2
ModuleGenerator 2.1
PHP 5.2.17
When adding/editing an item with custom fields I would receive a fatal error
because of an undefined variable on line 371 of
../ModuleGenerator/ModuleLib/action.admin_edititem.php
To fix, I changed the following line:
$module = cms_utils::get_search_module();
To:
$module = cms_utils::get_module('Search');
Note: newer versions of ModuleGenerator uses
$thisrule = cms_utils::get_search_module();
I'm assuming that this bug was specific to my environment and a fix is not
necessary in SVN.