diff options
| author | Damien Regad <dregad@mantisbt.org> | 2023-03-17 00:54:06 +0100 |
|---|---|---|
| committer | Damien Regad <dregad@mantisbt.org> | 2023-03-17 22:55:29 +0100 |
| commit | e3200059fa08ce9fcc9442a9cbb0971e2ddbf908 (patch) | |
| tree | 929dd6615fdb0a6ad43f7ff103d66a3abbf95423 /tohtml.inc.php | |
| parent | b5a88e7d3fafd2936fd093415ff7cf3277a7b9e2 (diff) | |
| download | adodb-e3200059fa08ce9fcc9442a9cbb0971e2ddbf908.tar.gz adodb-e3200059fa08ce9fcc9442a9cbb0971e2ddbf908.tar.bz2 adodb-e3200059fa08ce9fcc9442a9cbb0971e2ddbf908.zip | |
trim(): Passing null to parameter #1 is deprecated
Diffstat (limited to 'tohtml.inc.php')
| -rw-r--r-- | tohtml.inc.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tohtml.inc.php b/tohtml.inc.php index b3c08e32..a36fdf6b 100644 --- a/tohtml.inc.php +++ b/tohtml.inc.php @@ -113,7 +113,8 @@ GLOBAL $gSQLMaxRows,$gSQLBlockRows,$ADODB_ROUND; else $v = round($v,$ADODB_ROUND); case 'I': - $vv = stripslashes((trim($v))); + $vv = $v ? stripslashes(trim($v)) : ''; + $vv = $vv ?: ' '; if (strlen($vv) == 0) $vv .= ' '; $s .= " <TD align=right>".$vv ."</TD>\n"; |
