Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

[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...
commit e4afe21dcfa21cb8ab19b991960ef91cbeccd68c 1 parent b4e18e3
Erik Frèrejean erikfrerejean authored

Showing 2 changed files with 3 additions and 1 deletion. Show diff stats Hide diff stats

  1. +1 0  install.txt
  2. +2 1  stk/tools/admin/reparse_bbcode.php
1  install.txt
@@ -49,6 +49,7 @@ update!
49 49 == Changes since 1.0.3 ==
50 50 * [Fix] Correctly package the translation packages. (Bug #62651)
51 51 * [Fix] Remove unused button from the database cleaner. (Bug #62663)
  52 +* [Fix] BBCode reparser doesn't keep "reparseall" flag. (Bug #62725)
52 53
53 54 == Changes since 1.0.3-rc2 ==
54 55 * [Change] Some tweaks to the build script.
3  stk/tools/admin/reparse_bbcode.php
@@ -210,7 +210,7 @@ function run_tool()
210 210 // }
211 211
212 212 // Greb our batch
213   - $bitfield = (isset($_POST['reparseall'])) ? true : false;
  213 + $bitfield = (empty($_REQUEST['reparseall'])) ? true : false;
214 214
215 215 switch ($mode)
216 216 {
@@ -369,6 +369,7 @@ function _next_step($step, $mode, $next_mode = false)
369 369 'submit' => true,
370 370 'mode' => $_next_mode,
371 371 'step' => $_next_step,
  372 + 'reparseall' => (!empty($_REQUEST['reparseall'])) ? true : false,
372 373 );
373 374
374 375 meta_refresh(1, append_sid(STK_ROOT_PATH . 'index.' . PHP_EXT, $params));

0 comments on commit e4afe21

Please sign in to comment.
Something went wrong with that request. Please try again.