1
0
mirror of https://github.com/e107inc/e107.git synced 2025-01-29 10:38:08 +01:00

Fix PHP warning: Array to string conversion in db_debug_class.php:770

```
Array to string conversion, Line 770 of /home/deltik/public_html/e107_handlers/db_debug_class.php
```
This commit is contained in:
Nick Liu 2021-05-18 16:49:32 -05:00
parent 1874d3d936
commit 2a94814e8a
No known key found for this signature in database
GPG Key ID: 1167C5F9C9897637

View File

@ -767,7 +767,7 @@
$this->scbbcodes[$this->scbcount]['type'] = $type;
$this->scbbcodes[$this->scbcount]['code'] = $code;
$this->scbbcodes[$this->scbcount]['parm'] = (string) $parm;
$this->scbbcodes[$this->scbcount]['parm'] = is_array($parm) ? var_export($parm, true) : (string) $parm;
$this->scbbcodes[$this->scbcount]['details'] = $details;
$this->scbcount++;