diff --git a/Changelog b/Changelog index be944c4cd1..346ff2ff75 100755 --- a/Changelog +++ b/Changelog @@ -1,4 +1,5 @@ 2018-09-26 DariusIII + * Chg: Fix checking for argv in reset_postprocessing.php * Chg: Update egulias/email-validator to version 2.1.6 and laravel/framework to 5.7.6 2018-09-25 DariusIII * Fix: Fix login and user controllers behaviour if firewall is disabled diff --git a/misc/testing/DB/reset_postprocessing.php b/misc/testing/DB/reset_postprocessing.php index 9853faf6f2..88fc9e8b3c 100755 --- a/misc/testing/DB/reset_postprocessing.php +++ b/misc/testing/DB/reset_postprocessing.php @@ -11,7 +11,7 @@ $consoletools = new ConsoleTools(); $ran = false; -if ($argv[1] !== null && $argv[1] === 'all' && $argv[2] !== null && $argv[2] === 'true') { +if (isset($argv[1]) && $argv[1] === 'all' && isset($argv[2]) && $argv[2] === 'true') { $ran = true; $where = ''; if (isset($argv[3]) && $argv[3] === 'truncate') {