mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-20 17:18:51 +02:00
committed by
Pierre Goiffon
parent
2858d13fd5
commit
23cf2b91f4
@@ -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());
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user