Commit 5c9e5d28159f585416fe606146bd259e57c1a1f7

Authored by kevin_fourie
1 parent 984671fa

KTS-3930 - KnowledgeTree allows only one connection per session

Fixed

Committed By: Kevin Fourie
Reviewed By: Megan Watson

git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/branches/RB_3.5.4a@9626 c91229c3-7414-0410-bfa2-8a42b809f60b
plugins/ktcore/KTDocumentActions.php
... ... @@ -341,6 +341,7 @@ class KTDocumentViewAction extends KTDocumentAction {
341 341 $oStorage =& KTStorageManagerUtil::getSingleton();
342 342 $aOptions = array();
343 343 $iVersion = KTUtil::arrayGet($_REQUEST, 'version');
  344 + session_write_close();
344 345 if ($iVersion) {
345 346 $oVersion = KTDocumentContentVersion::get($iVersion);
346 347 $aOptions['version'] = sprintf('%d.%d', $oVersion->getMajorVersionNumber(), $oVersion->getMinorVersionNumber());
... ...