Permalink
Browse files

[bug/erik/62725] reparseall flag gets lost

The reparser doesn't actually use the "reparseall" flag but
instead always reparses all posts.
  • Loading branch information...
1 parent b4e18e3 commit e4afe21dcfa21cb8ab19b991960ef91cbeccd68c Erik Frèrejean committed Mar 28, 2011
Showing with 3 additions and 1 deletion.
  1. +1 −0 install.txt
  2. +2 −1 stk/tools/admin/reparse_bbcode.php
View
@@ -49,6 +49,7 @@ update!
== Changes since 1.0.3 ==
* [Fix] Correctly package the translation packages. (Bug #62651)
* [Fix] Remove unused button from the database cleaner. (Bug #62663)
+* [Fix] BBCode reparser doesn't keep "reparseall" flag. (Bug #62725)
== Changes since 1.0.3-rc2 ==
* [Change] Some tweaks to the build script.
@@ -210,7 +210,7 @@ function run_tool()
// }
// Greb our batch
- $bitfield = (isset($_POST['reparseall'])) ? true : false;
+ $bitfield = (empty($_REQUEST['reparseall'])) ? true : false;
switch ($mode)
{
@@ -369,6 +369,7 @@ function _next_step($step, $mode, $next_mode = false)
'submit' => true,
'mode' => $_next_mode,
'step' => $_next_step,
+ 'reparseall' => (!empty($_REQUEST['reparseall'])) ? true : false,
);
meta_refresh(1, append_sid(STK_ROOT_PATH . 'index.' . PHP_EXT, $params));

0 comments on commit e4afe21

Please sign in to comment.