Update 'fancytokens.php'

502: 	            $sql = "SELECT e.id , e.summary,  e.title, e.registration_link_text, 
503: +	             e.start_date as start_date  ,
505: 	             if( e.is_online_registration = 1 AND

576: 	            $sql = "SELECT e.id , e.summary,  e.title, e.registration_link_text, 
e.start_date as start_date  ,
This commit is contained in:
rt 2019-10-30 08:41:13 +00:00
parent adc61f2d58
commit 03a799a290

View File

@ -499,7 +499,7 @@ $protocol = $isSecure ? 'https://' : 'http://';
if( is_numeric( $date_number) && ( $date_unit == 'day' || $date_unit == 'week' || $date_unit == 'month' )){
// get event data
$sql = "SELECT e.id , e.summary, e.title, e.registration_link_text,
date_format( e.start_date, '%d/%m/%Y à %Hh%i' ) as start_date ,
e.start_date as start_date ,
if( e.is_online_registration = 1 AND
( e.registration_end_date is null || now() <= e.registration_end_date ) AND
( e.registration_start_date is null || now() >= e.registration_start_date ), '1', '0') as
@ -571,7 +571,7 @@ $protocol = $isSecure ? 'https://' : 'http://';
if( is_numeric( $token_event_id) ){
// get event data
$sql = "SELECT e.id , e.summary, e.title, e.registration_link_text,
date_format( e.start_date, '%d/%m/%Y à %Hh%i' ) as start_date ,
e.start_date as start_date ,
if( e.is_online_registration = 1 AND
( e.registration_end_date is null || now() <= e.registration_end_date ) AND
( e.registration_start_date is null || now() >= e.registration_start_date ), '1', '0') as