mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-07 20:08:53 +00:00
Merge branch '3.2.x'
This commit is contained in:
commit
52d356da88
1 changed files with 1 additions and 1 deletions
|
@ -392,7 +392,7 @@ class php_exporter
|
|||
public function get_vars_from_single_line_array($line, $throw_multiline = true)
|
||||
{
|
||||
$match = array();
|
||||
preg_match('#^\$vars = array\(\'([a-zA-Z0-9_\' ,]+)\'\);$#', $line, $match);
|
||||
preg_match('#^\$vars = (?:\[|array\()\'([a-zA-Z0-9_\' ,]+)\'[\)\]];$#', $line, $match);
|
||||
|
||||
if (isset($match[1]))
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue