diff options
Diffstat (limited to 'modules/metadata/mod_setenvif.c')
-rw-r--r-- | modules/metadata/mod_setenvif.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/metadata/mod_setenvif.c b/modules/metadata/mod_setenvif.c index aa8db0b40c..5a3cac2720 100644 --- a/modules/metadata/mod_setenvif.c +++ b/modules/metadata/mod_setenvif.c @@ -480,10 +480,10 @@ static const char *add_setenvifexpr(cmd_parms *cmd, void *mconfig, new->pattern = NULL; new->preg = NULL; new->expr = ap_expr_parse_cmd(cmd, expr, &err, NULL); - new->expr->module_index = setenvif_module.module_index; if (err) return apr_psprintf(cmd->pool, "Could not parse expression \"%s\": %s", expr, err); + new->expr->module_index = setenvif_module.module_index; return add_envvars(cmd, args, new); } |