diff options
| author | Tristan Darricau <github@nicofuma.fr> | 2014-06-15 22:03:39 +0200 |
|---|---|---|
| committer | Tristan Darricau <github@nicofuma.fr> | 2014-06-16 01:26:59 +0200 |
| commit | 5a320adc75faffe27d9d0b822e30106f1d27f2c2 (patch) | |
| tree | 931168347e8ff810c1cd9f77137420ffe4303f8f /phpBB/install/index.php | |
| parent | 3a96c5b753cbbde459f9835e952b2cb75008a9fc (diff) | |
| download | forums-5a320adc75faffe27d9d0b822e30106f1d27f2c2.tar forums-5a320adc75faffe27d9d0b822e30106f1d27f2c2.tar.gz forums-5a320adc75faffe27d9d0b822e30106f1d27f2c2.tar.bz2 forums-5a320adc75faffe27d9d0b822e30106f1d27f2c2.tar.xz forums-5a320adc75faffe27d9d0b822e30106f1d27f2c2.zip | |
[ticket/12724] Add Squiz.PHP.Eval in the legacy ruleset
PHPBB3-12724
Diffstat (limited to 'phpBB/install/index.php')
| -rw-r--r-- | phpBB/install/index.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/phpBB/install/index.php b/phpBB/install/index.php index 43970029cb..bff7b75b18 100644 --- a/phpBB/install/index.php +++ b/phpBB/install/index.php @@ -752,12 +752,16 @@ class module break; case 'select': + // @codingStandardsIgnoreStart eval('$s_options = ' . str_replace('{VALUE}', $value, $options) . ';'); + // @codingStandardsIgnoreEnd $tpl = '<select id="' . $name . '" name="' . $name . '">' . $s_options . '</select>'; break; case 'custom': + // @codingStandardsIgnoreStart eval('$tpl = ' . str_replace('{VALUE}', $value, $options) . ';'); + // @codingStandardsIgnoreEnd break; default: |
