Fix: Bug of import of agenda when using https link
This commit is contained in:
parent
319b13dafb
commit
abc8649e02
@ -67,7 +67,7 @@ if ($actionsave)
|
||||
$color=trim(GETPOST('agenda_ext_color'.$i,'alpha'));
|
||||
if ($color=='-1') $color='';
|
||||
|
||||
if (! empty($src) && ! preg_match('/^(http\s*|ftp\s*):/', $src))
|
||||
if (! empty($src) && ! dol_is_url($src))
|
||||
{
|
||||
setEventMessage($langs->trans("ErrorParamMustBeAnUrl"),'errors');
|
||||
$error++;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user