Skip to content

Commit 8ba291a

Browse files
committed
Fix Mount.php validation rules
1 parent 66b9169 commit 8ba291a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/Models/Mount.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ public static function getRules()
7474
$rules = parent::getRules();
7575

7676
$rules['source'][] = new NotIn(Mount::$invalidSourcePaths);
77-
$rules['target'][] = new NotIn(Mount::$invalidSourcePaths);
77+
$rules['target'][] = new NotIn(Mount::$invalidTargetPaths);
7878

7979
return $rules;
8080
}

0 commit comments

Comments
 (0)