We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 647b73c commit f042386Copy full SHA for f042386
src/Backup/Source/Tar.php
@@ -202,8 +202,9 @@ private function setupIncrementalSettings()
202
*/
203
private function isLevelZeroTime(string $date, array $values): bool
204
{
205
- foreach ($values as $value) {
206
- if (Util\Path::replaceDatePlaceholders($date, $this->time) === $value) {
+ $currentDateValue = Util\Path::replaceDatePlaceholders($date, $this->time);
+ foreach ($values as $configuredValue) {
207
+ if ($currentDateValue === $configuredValue) {
208
return true;
209
}
210
0 commit comments