Skip to content

Commit 19538c4

Browse files
committed
updated method value check to allow passing of false values - fixes #1946
1 parent 0562e90 commit 19538c4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Tasks/Backup/DbDumperFactory.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ protected static function processExtraDumpParameters(array $dumpConfiguration, D
121121

122122
protected static function callMethodOnDumper(DbDumper $dbDumper, string $methodName, mixed $methodValue): DbDumper
123123
{
124-
if (! $methodValue) {
124+
if (! isset($methodValue)) {
125125
$dbDumper->$methodName();
126126

127127
return $dbDumper;

0 commit comments

Comments
 (0)