mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-02 01:52:10 +09:00
Fix missing validation of xe_run_method
This commit is contained in:
parent
cdc713301f
commit
bf0899973a
2 changed files with 6 additions and 2 deletions
|
|
@ -102,8 +102,8 @@ class addonController extends addon
|
|||
$buff[] = '$before_time = microtime(true);';
|
||||
|
||||
// Run method and mid list
|
||||
$run_method = ($extra_vars->xe_run_method ?? null) ?: 'run_selected';
|
||||
$buff[] = '$rm = \'' . $run_method . "';";
|
||||
$run_method = strval($extra_vars->xe_run_method ?? 'run_selected');
|
||||
$buff[] = '$rm = ' . var_export($run_method, true) . ';';
|
||||
$buff[] = '$ml = ' . var_export(array_fill_keys($mid_list, true), true) . ';';
|
||||
$buff[] = '$_m = Context::get(\'mid\');';
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue