Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MDI-1415 Fix warning: Passing the and parameters in reverse order to implode #102

Merged
merged 1 commit into from
Nov 24, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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