Skip to content
Permalink
Browse files

Fixed use of single quotes in o2_translate()

  • Loading branch information...
tvannini committed Apr 19, 2019
1 parent d3a54d1 commit ed6b1b0d180fd3c15de7082e1fe8d647e3641804
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/jxapp.inc
@@ -10807,9 +10807,9 @@ class o2_inspector {
}
// ___________________________________________________ Function o2_translate() ___
preg_match_all(
'/o2_translate\s*\(\s*["\'](.+?)["\']\s*,\s*["\'](.+?)["\']\s*([^)]*)\)/',
'/o2_translate\s*\(\s*["\'](.+?)["\']\s*,\s*(["\'])(.+?)\2\s*([^)]*)\)/',
$code, $parts);
foreach ($parts[2] as $idx => $base_string) {
foreach ($parts[3] as $idx => $base_string) {
$list[$parts[1][$idx]]['string'][0] = $base_string;
}
$this->mlt_process_list($prg_name, $list);

0 comments on commit ed6b1b0

Please sign in to comment.
You can’t perform that action at this time.