Persistent Bug in NSP 5 and fix...

News Show Pro GK5 - flexible, responsive and easily extendable free Joomla module support forum.
Rate this topic: Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.
GK User
Mon Oct 20, 2014 8:36 pm
There is an error:
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. ;)
User avatar
Fresh Boarder

GK User
Wed Oct 22, 2014 12:57 pm
Hello,

This fix: https://github.com/GavickPro/News-Show- ... 770b6b4e37

will be included in the next (v.1.7.0) release of the module.
User avatar
Administrator


cron