-- HikaShop version -- : 2.5.0
-- Joomla version -- : 3.4.1
-- PHP version -- : 5.3.28
-- Error-message(debug-mod must be tuned on) -- : Notice: Undefined index: task in /home/icxdev04/public_html/components/com_hikashop/router.php on line 53
Since upgrading to Hikashop 2.5.0 I've been seeing ( during checkout )
Notice: Undefined index: task in /home/icxdev04/public_html/components/com_hikashop/router.php on line 53
at the top of the page. Within that router.php file, shouldn't
if( ( isset($query['ctrl']) && $query['ctrl']=='checkout' || isset($query['view']) && $query['view']=='checkout' ) && !empty($query['Itemid']) && ( !isset($query['task']) && !isset($query['layout']) || $query['task']=='step' || (isset($query['layout']) && $query['layout']=='step' )) ) {
be
if( ( isset($query['ctrl']) && $query['ctrl']=='checkout' || isset($query['view']) && $query['view']=='checkout' ) && !empty($query['Itemid']) && ( !isset($query['task']) && !isset($query['layout']) || (isset($query['task']) && $query['task']=='step' ) || (isset($query['layout']) && $query['layout']=='step' )) ) {
This seems to make sense and makes the issue go away.