Skip to content

Commit

Permalink
pkp/pkp-lib#3462 null parameter removed
Browse files Browse the repository at this point in the history
  • Loading branch information
defstat committed May 31, 2018
1 parent 5c3ec64 commit a193d3e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions plugins/importexport/users/UserImportExportPlugin.inc.php
Original file line number Diff line number Diff line change
Expand Up @@ -75,15 +75,15 @@ function executeCLI($scriptName, &$args) {

switch ($command) {
case 'import':
$this->importUsers(file_get_contents($xmlFile), $journal, null, null);
$this->importUsers(file_get_contents($xmlFile), $journal, null);
return;
case 'export':
if ($xmlFile != '') {
if (empty($args)) {
file_put_contents($xmlFile, $this->exportAllUsers($journal, null, null));
file_put_contents($xmlFile, $this->exportAllUsers($journal, null));
return;
} else {
file_put_contents($xmlFile, $this->exportUsers($args, $journal, null, null));
file_put_contents($xmlFile, $this->exportUsers($args, $journal, null));
return;
}
}
Expand Down

0 comments on commit a193d3e

Please sign in to comment.