fix resetting DiskSpace

This commit is contained in:
Isaac Connor 2018-04-03 09:57:14 -07:00
parent dfc35721f9
commit b26707b647
1 changed files with 1 additions and 1 deletions

View File

@ -201,7 +201,7 @@ class Event {
} // end function getStreamSrc
function DiskSpace( $new='' ) {
if ( $new != '' ) {
if ( is_null($new) or ( $new != '' ) ) {
$this->{'DiskSpace'} = $new;
}
if ( null === $this->{'DiskSpace'} ) {