Commit df9c9277 authored by ufku's avatar ufku
Browse files

Issue #3302806: Fixed warnings caused by SA-CORE-2022-012

parent 2d17651e
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -1144,8 +1144,8 @@ function imce_scan_directory($dirname, $imce) {
      $width = $img['width'];
      $height = $img['height'];
    }
    $size = filesize($path);
    $date = filemtime($path);
    $size = @filesize($path) ?: 0;
    $date = @filemtime($path) ?: 0;
    $directory['files'][$file] = array(
      'name' => $file,
      'size' => $size,