Applied fixes from StyleCI
This commit is contained in:

committed by
StyleCI Bot

parent
be5df5334f
commit
d637c2b23f
@@ -25,24 +25,27 @@ For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
</thead>
|
||||
<?php
|
||||
|
||||
if (!empty($_POST))
|
||||
{
|
||||
foreach ( $_POST as $key => $value )
|
||||
{
|
||||
if ( ( !is_string($value) && !is_numeric($value) ) || !is_string($key) )
|
||||
continue;
|
||||
if (!empty($_POST)) {
|
||||
foreach ($_POST as $key => $value) {
|
||||
if ((!is_string($value) && !is_numeric($value)) || !is_string($key)) {
|
||||
continue;
|
||||
}
|
||||
|
||||
if ( get_magic_quotes_gpc() )
|
||||
$value = htmlspecialchars( stripslashes((string)$value) );
|
||||
else
|
||||
$value = htmlspecialchars( (string)$value );
|
||||
?>
|
||||
if (get_magic_quotes_gpc()) {
|
||||
$value = htmlspecialchars(stripslashes((string) $value));
|
||||
} else {
|
||||
$value = htmlspecialchars((string) $value);
|
||||
}
|
||||
?>
|
||||
<tr>
|
||||
<th style="vertical-align: top"><?php echo htmlspecialchars( (string)$key ); ?></th>
|
||||
<td><pre class="samples"><?php echo $value; ?></pre></td>
|
||||
<th style="vertical-align: top"><?php echo htmlspecialchars((string) $key);
|
||||
?></th>
|
||||
<td><pre class="samples"><?php echo $value;
|
||||
?></pre></td>
|
||||
</tr>
|
||||
<?php
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
?>
|
||||
</table>
|
||||
|
@@ -13,4 +13,4 @@
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
-------------------------------------------------------------------------------------------
|
||||
|
||||
</pre><div style="display:none"></body> */ include "assets/posteddata.php"; ?>
|
||||
</pre><div style="display:none"></body> */ include 'assets/posteddata.php';
|
||||
|
Reference in New Issue
Block a user