Commit b57e1780 authored by Antoine Cellerier's avatar Antoine Cellerier

If one schedule was disabled, all the folowing schedules weren't shown.

Could someone explain why this return was put here in the first place ?
parent 252747db
...@@ -1833,12 +1833,6 @@ static vlm_message_t *vlm_Show( vlm_t *vlm, vlm_media_t *media, ...@@ -1833,12 +1833,6 @@ static vlm_message_t *vlm_Show( vlm_t *vlm, vlm_media_t *media,
vlm_MessageNew( "enabled", s->b_enabled ? vlm_MessageNew( "enabled", s->b_enabled ?
"yes" : "no" ) ); "yes" : "no" ) );
if( !s->b_enabled ) return msg;
vlm_MessageAdd( msg_schedule,
vlm_MessageNew( "enabled", "yes" ) );
/* calculate next date */ /* calculate next date */
i_time = vlm_Date(); i_time = vlm_Date();
i_next_date = s->i_date; i_next_date = s->i_date;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment