1
0
mirror of https://github.com/e107inc/e107.git synced 2025-07-31 11:50:30 +02: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

View File

@@ -767,7 +767,7 @@
$this->scbbcodes[$this->scbcount]['type'] = $type; $this->scbbcodes[$this->scbcount]['type'] = $type;
$this->scbbcodes[$this->scbcount]['code'] = $code; $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->scbbcodes[$this->scbcount]['details'] = $details;
$this->scbcount++; $this->scbcount++;