use wcf\data\edit\history\entry\EditHistoryEntryList;
use wcf\data\object\type\ObjectTypeCache;
use wcf\system\exception\IllegalLinkException;
+use wcf\system\request\LinkHandler;
use wcf\system\WCF;
use wcf\util\Diff;
+use wcf\util\HeaderUtil;
use wcf\util\StringUtil;
/**
$this->new = $this->object;
$this->newID = 'current';
}
+
+ if (!empty($_POST)) {
+ HeaderUtil::redirect(LinkHandler::getInstance()->getLink('EditHistory', array(
+ 'objectID' => $this->objectID,
+ 'objectType' => $this->objectType->objectType,
+ 'newID' => $this->newID,
+ 'oldID' => $this->oldID
+ )));
+ exit;
+ }
}
/**