Prevent an error for PHP 8.1 plus
This commit is contained in:
@@ -360,13 +360,17 @@
|
|||||||
echo "<th width='30%'>".$text['label-name']."</th>\n";
|
echo "<th width='30%'>".$text['label-name']."</th>\n";
|
||||||
echo "<th width='70%'>".$text['label-value']."</th>\n";
|
echo "<th width='70%'>".$text['label-value']."</th>\n";
|
||||||
echo "</tr>\n";
|
echo "</tr>\n";
|
||||||
if (is_array($array["channel_data"])) foreach($array["channel_data"] as $key => $value) {
|
if (is_array($array["channel_data"])) {
|
||||||
$value = urldecode($value);
|
foreach($array["channel_data"] as $key => $value) {
|
||||||
echo "<tr >\n";
|
if (!empty($value)) {
|
||||||
echo " <td valign='top' align='left' class='".$row_style[$c]."'>".escape($key)." </td>\n";
|
$value = urldecode($value);
|
||||||
echo " <td valign='top' align='left' class='".$row_style[$c]."'>".escape(wordwrap($value,75,"\n", TRUE))." </td>\n";
|
echo "<tr >\n";
|
||||||
echo "</tr>\n";
|
echo " <td valign='top' align='left' class='".$row_style[$c]."'>".escape($key)." </td>\n";
|
||||||
$c = $c ? 0 : 1;
|
echo " <td valign='top' align='left' class='".$row_style[$c]."'>".escape(wordwrap($value,75,"\n", TRUE))." </td>\n";
|
||||||
|
echo "</tr>\n";
|
||||||
|
$c = $c ? 0 : 1;
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
echo "</table>";
|
echo "</table>";
|
||||||
echo "<br /><br />\n";
|
echo "<br /><br />\n";
|
||||||
|
|||||||
Reference in New Issue
Block a user