Merge remote-tracking branch 'origin/support/2.5'

This commit is contained in:
Pierre Goiffon
2019-05-13 08:53:50 +02:00

View File

@@ -234,7 +234,7 @@ function MakeDataToPost($sTargetRoute)
if (MetaModel::GetConfig()->Get('demo_mode'))
{
// Don't expose such information in demo mode
$aDataToPost = array();
$aDataToPost = array('disabled' => true, 'reason' => 'demo_mode');
}
else
{
@@ -466,4 +466,4 @@ catch (Exception $e)
IssueLog::Error($e->getMessage());
}
}