diff options
| author | Damien Regad <dregad@mantisbt.org> | 2019-08-23 16:20:48 +0200 |
|---|---|---|
| committer | Damien Regad <dregad@mantisbt.org> | 2019-08-23 16:26:31 +0200 |
| commit | 23cfd2480e3c77b5928432c10bda69b252efcd2c (patch) | |
| tree | 05f1ccd6ecafef910db12019ae7bb69ae9954447 /pear | |
| parent | 2b09c6d448267b32534b16a9aa4e9b2e62db0ed0 (diff) | |
| download | adodb-23cfd2480e3c77b5928432c10bda69b252efcd2c.tar.gz adodb-23cfd2480e3c77b5928432c10bda69b252efcd2c.tar.bz2 adodb-23cfd2480e3c77b5928432c10bda69b252efcd2c.zip | |
PHP 7.4: fix deprecated usage of join()
Passing parameters to implode() in reverse order is deprecated
Fixes #547
Diffstat (limited to 'pear')
| -rw-r--r-- | pear/Auth/Container/ADOdb.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pear/Auth/Container/ADOdb.php b/pear/Auth/Container/ADOdb.php index f500e25c..916d42c2 100644 --- a/pear/Auth/Container/ADOdb.php +++ b/pear/Auth/Container/ADOdb.php @@ -199,7 +199,7 @@ class Auth_Container_ADOdb extends Auth_Container /* Include additional fields if they exist */ if(!empty($this->options['db_fields'])){ if(is_array($this->options['db_fields'])){ - $this->options['db_fields'] = join($this->options['db_fields'], ', '); + $this->options['db_fields'] = join(', ', $this->options['db_fields'], ); } $this->options['db_fields'] = ', '.$this->options['db_fields']; } |
