mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-20 17:18:51 +02:00
Archives: added the option with_archive to export web services (defaults to 0)
SVN:trunk[4711]
This commit is contained in:
@@ -153,8 +153,11 @@ class utils
|
||||
{
|
||||
$iDefault = 0;
|
||||
}
|
||||
$iCurrent = self::ReadParam('with-archive', $iDefault, true);
|
||||
// Read and record the value for switching the archive mode
|
||||
$iCurrent = self::ReadParam('with-archive', $iDefault);
|
||||
$_SESSION['archive_mode'] = $iCurrent;
|
||||
// Read and use the value for the current page (web services)
|
||||
$iCurrent = self::ReadParam('with_archive', $iCurrent, true);
|
||||
self::$bPageMode = ($iCurrent == 1);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user