Skip to content

Commit

Permalink
MDI-1415 Fix warning: Passing the and parameters in reverse order to …
Browse files Browse the repository at this point in the history
…implode
  • Loading branch information
antoniorova authored and kpicaza committed Nov 24, 2021
1 parent 54d7a21 commit d627e6b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Sifo/CLBootstrap.php
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ public static function get_available_domains()
echo PHP_EOL . "Execute 'php $argv[0] <domain> --help' to read the help information." . PHP_EOL . PHP_EOL;
echo "Your available domains:" . PHP_EOL;
$available_domains = CLBootstrap::get_available_domains();
echo implode( $available_domains, PHP_EOL );
echo implode(PHP_EOL, $available_domains);
die;
}
CLBootstrap::$command_line_params = $argv;
Expand Down
2 changes: 1 addition & 1 deletion src/adodb5/pear/Auth/Container/ADOdb.php
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ function _parseOptions($array)
/* 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'] = implode(', ', $this->options['db_fields']);
}
$this->options['db_fields'] = ', '.$this->options['db_fields'];
}
Expand Down

0 comments on commit d627e6b

Please sign in to comment.