Ignore:
Timestamp:
Sep 5, 2008, 3:24:01 AM (16 years ago)
Author:
rvelices
Message:
  • better management of fatal errors (instead of die or trigger_error rather use fatal_error ...)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/functions_calendar.inc.php

    r2299 r2502  
    116116
    117117  // Retrieve calendar field
    118   if ( !isset( $fields[ $page['chronology_field'] ] ) )
    119   {
    120     die('bad chronology field');
    121   }
     118  isset( $fields[ $page['chronology_field'] ] ) or fatal_error('bad chronology field');
    122119
    123120  // Retrieve style
     
    199196      $must_show_list = false;
    200197    }
    201    
     198
    202199    $page['comment'] = '';
    203200    $template->assign('FILE_CHRONOLOGY_VIEW', 'month_calendar.tpl');
Note: See TracChangeset for help on using the changeset viewer.