diff options
| author | Andreas Fischer <bantu@phpbb.com> | 2015-02-11 16:53:25 +0100 |
|---|---|---|
| committer | Andreas Fischer <bantu@phpbb.com> | 2015-02-11 16:53:25 +0100 |
| commit | 39a3f4f6c8d31f3310e287a51aea011fadae7931 (patch) | |
| tree | 16538bed8be122d00e0a015120453d3b357a0318 /phpBB/includes/functions_privmsgs.php | |
| parent | c6a371531bab7ba7f003c57d25b6b515718eb54f (diff) | |
| parent | 3df25babce5df2d26bc98114cd404d51c659c19f (diff) | |
| download | forums-39a3f4f6c8d31f3310e287a51aea011fadae7931.tar forums-39a3f4f6c8d31f3310e287a51aea011fadae7931.tar.gz forums-39a3f4f6c8d31f3310e287a51aea011fadae7931.tar.bz2 forums-39a3f4f6c8d31f3310e287a51aea011fadae7931.tar.xz forums-39a3f4f6c8d31f3310e287a51aea011fadae7931.zip | |
Merge pull request #3391 from marc1706/ticket/13597
[ticket/13597] Modify variable-variable syntax to be compatible with PHP7
* marc1706/ticket/13597:
[ticket/13597] Modify variable-variable syntax to be compatible with PHP7
Diffstat (limited to 'phpBB/includes/functions_privmsgs.php')
| -rw-r--r-- | phpBB/includes/functions_privmsgs.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/includes/functions_privmsgs.php b/phpBB/includes/functions_privmsgs.php index 838c6a0fec..e693305246 100644 --- a/phpBB/includes/functions_privmsgs.php +++ b/phpBB/includes/functions_privmsgs.php @@ -1415,9 +1415,9 @@ function rebuild_header($check_ary) $_types = array('u', 'g'); foreach ($_types as $type) { - if (sizeof($$type)) + if (sizeof(${$type})) { - foreach ($$type as $id) + foreach (${$type} as $id) { $address[$type][$id] = $check_type; } |
