* adjust code.

This commit is contained in:
wangyidong
2018-11-28 08:57:04 +08:00
parent f69fd87feb
commit c617950ac2
4 changed files with 2 additions and 6 deletions
-2
View File
@@ -1154,8 +1154,6 @@ EOD;
{
$preAndNextObject = new stdClass();
if(strpos('story, task, bug, testcase, doc', $type) === false) return $preAndNextObject;
/* Use existObject when the preAndNextObject of this objectID has exist in session. */
$existObject = $type . 'PreAndNext';
if(isset($_SESSION[$existObject]) and $_SESSION[$existObject]['objectID'] == $objectID) return $_SESSION[$existObject]['preAndNextObject'];