Notice: Undefined index: module

Bug #883171 reported by Lucas Torres
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
KumbiaPHP Framework
Fix Committed
Undecided
Unassigned

Bug Description

Es primera vez que uso la plataforma, no se si este es el lugar apropiado para postearlo. SI no lo es ofrezco disculpas.

En la versión Beta2 de KumbiaPhp la función Router::route_to() devuelve un Notice si no se define un módulo.

El Notice se presenta en core/kumbia/router.php en la línea 167

Contenido de la línea:
self::$_vars['controller_path'] = ($url['module']) ? $url['module'].'/'.$url['controller'] : $url['controller'];

Solución que le di:
self::$_vars['controller_path'] = (isset($url['module'])) ? $url['module'].'/'.$url['controller'] : $url['controller'];

Un saludo.

Revision history for this message
Lucas Torres (lucasan37-a) wrote :
joanhey (joanhey)
Changed in kumbia:
status: New → Fix Committed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.