Ignore:
Timestamp:
Jan 4, 2020, 11:59:33 AM (5 years ago)
Author:
chronos
Message:
  • Added: New filter data type Boolean for representing on/off switches.
  • Added: Show only upcoming events. Allow to show also past events.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Modules/Event/Import/JoeClub.php

    r51 r52  
    33class EventSourceJoeClub extends EventSource
    44{
    5   function Import()
     5  function ImportInternal()
    66  {
    7     $Output = parent::Import();
     7    $Output = '';
    88    $Content = file_get_contents($this->URL);
    99
     
    6262    $Event->Price = trim(str_replace('Kč', '', $Event->Price));
    6363    if ($Event->Price == 'Zdarma') $Event->Price = 0;
     64    if ($Event->Price == '') $Event->Price = 0;
    6465    return $Output;
    6566  }
Note: See TracChangeset for help on using the changeset viewer.