summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--phpdbg_cmd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpdbg_cmd.c b/phpdbg_cmd.c
index 69585a720f..dee3b6da19 100644
--- a/phpdbg_cmd.c
+++ b/phpdbg_cmd.c
@@ -657,9 +657,9 @@ PHPDBG_API int phpdbg_do_cmd(const phpdbg_command_t *command, phpdbg_input_t *in
}
}
- PHPDBG_G(lparam) = param;
initial_last_param = PHPDBG_G(lparam);
initial_last_cmd = (phpdbg_command_t *)PHPDBG_G(lcmd);
+ PHPDBG_G(lparam) = param;
PHPDBG_G(lcmd) = (phpdbg_command_t *)command;
rc = command->handler(&param, input TSRMLS_CC);