Skip to content

Commit

Permalink
Merge branch 'pr/2195' into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
bnu committed Jan 2, 2018
2 parents 741deb6 + 2c162dc commit 321b1f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/menu/menu.admin.controller.php
Expand Up @@ -2004,7 +2004,7 @@ function getPhpCacheCode($source_node, $tree, $site_srl, $domain)
unset($name_arr_str);
foreach($names as $key => $val)
{
if(preg_match('/\{\$lang->menu_gnb(?:_sub)?\[\'([a-zA-Z_]+)\'\]\}/', $val) === 1)
if(preg_match('/\{\$lang->menu_gnb(?:_sub)?\[\'([a-zA-Z_]?[a-zA-Z_0-9]*)\'\]\}/', $val) === 1)
{
$name_arr_str .= sprintf('"%s"=>"%s",', $key, $val);
}
Expand Down

0 comments on commit 321b1f8

Please sign in to comment.