Conjunto 7c24088 en sipp


Ignorar:
Fecha y hora:
09/11/2015 16:27:56 (hace 9 años)
Autor:
José Gregorio Puentes <jpuentes@…>
Branches:
0.3-stable
Children:
387489d
Parents:
2d85582
Mensaje:

se agregaron los campos codigo, objetivos y justificacion a la vista de consultas

Fichero:
1 editado

Leyenda

No modificado
Añadido
Eliminado
  • 0.3-stable-modules/proyectos_reformulacion/proyectos_reformulacion.module

    rf4301be r7c24088  
    28012801    //lista de los objetivos generales
    28022802    foreach ($node->field_proyecto_oe as $item) {
    2803       $text = substr($item["value"], 0 , 150);
    2804       $items[] = $text . '...';
     2803      if ($item["value"] != '') {
     2804        $text = substr($item["value"], 0 , 150);
     2805        $items[] = $text . '...';
     2806      }
    28052807    }
    28062808    $row[] = array('data' => $ente->title, 'style' => 'background:' . $color,);
     
    29032905  $sql = '';
    29042906  $sql_count = '';
    2905 //print_r($user);
    29062907  if (!user_access('admin planificador') && $user->entes) {
    29072908    $inputs[] = $estado_naprobado;
     
    29592960    //lista de los objetivos generales
    29602961    foreach ($node->field_proyecto_oe as $item) {
    2961       $text = substr($item["value"], 0 , 150);
    2962       $items[] = $text . '...';
     2962      if ($item["value"] != '') {
     2963        $text = substr($item["value"], 0 , 150);
     2964        $items[] = $text . '...';
     2965      }
    29632966    }
    29642967    $row[] = array('data' => $ente->title, 'style' => 'background:' . $color,);
Nota: Vea TracChangeset para ayuda en el uso del visor de conjuntos de cambios.