diff --git a/scripts/zmfilter.pl.in b/scripts/zmfilter.pl.in index a07d9a255..475ebecb2 100644 --- a/scripts/zmfilter.pl.in +++ b/scripts/zmfilter.pl.in @@ -342,7 +342,13 @@ sub checkFilter { $Event->lock_and_load(); my $old_diskspace = $$Event{DiskSpace}; - if ( $old_diskspace != $Event->DiskSpace(undef) ) { + my $new_diskspace = $Event->DiskSpace(undef); + + if ( + ( (!defined $old_diskspace) and defined $new_diskspace) + or + ( (defined $old_diskspace) and (defined $new_diskspace) and ( $old_diskspace != $Event->DiskSpace(undef) ) ) + ) { $Event->save(); } $ZoneMinder::Database::dbh->commit(); diff --git a/web/api/app/Plugin/CakePHP-Enum-Behavior b/web/api/app/Plugin/CakePHP-Enum-Behavior index ca91b87fd..7108489f2 160000 --- a/web/api/app/Plugin/CakePHP-Enum-Behavior +++ b/web/api/app/Plugin/CakePHP-Enum-Behavior @@ -1 +1 @@ -Subproject commit ca91b87fda8e006e4fca2ed870f24f9a29c2905d +Subproject commit 7108489f218c54d36d235d3af91d6da2f8311237 diff --git a/web/api/app/Plugin/Crud b/web/api/app/Plugin/Crud index 1351dde6b..c3976f147 160000 --- a/web/api/app/Plugin/Crud +++ b/web/api/app/Plugin/Crud @@ -1 +1 @@ -Subproject commit 1351dde6b4c75b215099ae8bcf5a21d6c6e10298 +Subproject commit c3976f1478c681b0bbc132ec3a3e82c3984eeed5 diff --git a/web/skins/classic/views/console.php b/web/skins/classic/views/console.php index 298e82246..1db519a18 100644 --- a/web/skins/classic/views/console.php +++ b/web/skins/classic/views/console.php @@ -208,6 +208,7 @@ ob_start();