Commit 7ea55f3de669fec0dd1bafcaec083a3c8685d8ba

Authored by Kevin Fourie
1 parent 843b7249

KTS-3930 - KnowledgeTree allows only one connection per session

Fixed

Committed By: Kevin Fourie
Reviewed By: Megan Watson

(cherry picked from commit 5c9e5d28159f585416fe606146bd259e57c1a1f7)

git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@9630 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());
... ...