mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-23 10:38:45 +02:00
@@ -899,6 +899,12 @@ EOF
|
||||
$oShortcut->Set("context", $sContext);
|
||||
$oShortcut->Set("name", $aValues['name']);
|
||||
$oShortcut->Set("oql", $aValues['oql']);
|
||||
$iAutoReload = (int)$aValues['auto_reload_sec'];
|
||||
if (($aValues['auto_reload']) && ($iAutoReload > 0))
|
||||
{
|
||||
$oShortcut->Set("auto_reload_sec", max(5, $iAutoReload));
|
||||
$oShortcut->Set("auto_reload", 'custom');
|
||||
}
|
||||
$iId = $oShortcut->DBInsertNoReload();
|
||||
|
||||
// Add the menu node in the right place
|
||||
|
||||
Reference in New Issue
Block a user