- Code: Select all
Notice: Undefined index: k2_get_extra_fields in .... [domain info] ... /html/modules/mod_news_pro_gk5/data_sources/com_k2/model.php on line 335
That can be fixed by checking if there is an array set:
- Code: Select all
if(isset($config['k2_get_extra_fields'])) {
// load extra fields --- this is the source check ----
if($config['k2_get_extra_fields'] == 1) {
$content = NSP_GK5_com_k2_Model::getExtraFields($content, $config);
}
}
... please fix it so I don't have to do it manually on every site, overtime I upgrade this great piece of software.