Skip to content
Snippets Groups Projects
Commit 88e39bbb authored by Laurent Destailleur's avatar Laurent Destailleur
Browse files

Fix: Better error management

parent 739b4b2c
No related branches found
No related tags found
No related merge requests found
......@@ -750,7 +750,13 @@ class ActionComm
if ($format == 'ical') $result=build_calfile($format,$title,$desc,$eventarray,$outputfile);
if ($format == 'vcal') $result=build_calfile($format,$title,$desc,$eventarray,$outputfile);
if ($format == 'rss') $result=build_rssfile($format,$title,$desc,$eventarray,$outputfile);
if ($result < 0)
{
$this->error=$langs->trans("ErrorFailedToWriteFile",$outputfile);
}
}
return $result;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment