Changeset 29917


Ignore:
Timestamp:
Oct 7, 2014, 2:16:50 PM (10 years ago)
Author:
JanisV
Message:

Fixed warnings

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/Fotorama/main.inc.php

    r29915 r29917  
    2222{
    2323  add_event_handler('get_admin_plugin_menu_links', 'Fotorama_admin_menu');
    24 }
     24}
     25else
     26{
     27  add_event_handler('loc_end_picture', 'Fotorama_end_picture');
     28  add_event_handler('loc_end_page_header', 'Fotorama_end_page_header');
     29}
    2530
    2631function Fotorama_init()
     
    5156        $conf['Fotorama']['period'] = 4000;
    5257  }
    53 
    54   add_event_handler('loc_end_picture', 'Fotorama_end_picture');
    55   add_event_handler('loc_end_page_header', 'Fotorama_end_page_header');
    5658}
    5759
Note: See TracChangeset for help on using the changeset viewer.