From: <var...@us...> - 2021-06-29 13:38:36
|
Revision: 10339 http://sourceforge.net/p/phpwiki/code/10339 Author: vargenau Date: 2021-06-29 13:38:35 +0000 (Tue, 29 Jun 2021) Log Message: ----------- lib/plugin/SpellCheck.php: no $version Modified Paths: -------------- trunk/lib/plugin/SpellCheck.php Modified: trunk/lib/plugin/SpellCheck.php =================================================================== --- trunk/lib/plugin/SpellCheck.php 2021-06-29 13:11:19 UTC (rev 10338) +++ trunk/lib/plugin/SpellCheck.php 2021-06-29 13:38:35 UTC (rev 10339) @@ -162,13 +162,7 @@ } //$html->pushContent(HTML::hr(),HTML::h1(_("Spellcheck"))); $page = $request->getPage(); - if ($version) { - $revision = $page->getRevision($version); - if (!$revision) - NoSuchRevision($request, $page, $version); - } else { - $revision = $page->getCurrentRevision(); - } + $revision = $page->getCurrentRevision(); $request->setArg('suggestions', $sugg); include_once 'lib/BlockParser.php'; $ori_html = TransformText($revision, $page); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |