Skip to content

Commit

Permalink
route: initialize full "union" for route variable names
Browse files Browse the repository at this point in the history
  • Loading branch information
razvancrainea committed Jan 27, 2020
1 parent 224fc80 commit f6934e9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cfg.y
Expand Up @@ -1440,6 +1440,7 @@ route_name_var: route_name {
tmp = strchr($1, '$');
if (!tmp) {
/* route name is a cosntant string - search for the route */
rn_tmp.data = 0;
rn_tmp.iname = get_script_route_idx($1, sroutes->request,
RT_NO, 0);
if (rn_tmp.iname==-1)
Expand Down

0 comments on commit f6934e9

Please sign in to comment.