test stickler

This commit is contained in:
Frédéric FRANCE 2021-03-02 16:34:04 +01:00
parent c81d5ff4d0
commit 5d78c3530b
No known key found for this signature in database
GPG Key ID: 06809324E4B2ABC1

View File

@ -2211,8 +2211,7 @@ if ($action == 'generatesitemaps') {
$robotcontent .= $robotsitemap."\n"; $robotcontent .= $robotsitemap."\n";
} }
$result = dolSaveRobotFile($filerobot, $robotcontent); $result = dolSaveRobotFile($filerobot, $robotcontent);
if (!$result) if (!$result) {
{
$error++; $error++;
setEventMessages('Failed to write file '.$filerobot, null, 'errors'); setEventMessages('Failed to write file '.$filerobot, null, 'errors');
} }