diff --git a/gulliver/system/class.g.php b/gulliver/system/class.g.php index c96681c48..0351e5e7d 100644 --- a/gulliver/system/class.g.php +++ b/gulliver/system/class.g.php @@ -1250,9 +1250,9 @@ class G $aAux = explode('/', $filename); $downloadFileName = $aAux[count($aAux) - 1]; } - header('Content-Disposition: attachment; filename="' . G::inflect($downloadFileName) . '"'); + header('Content-Disposition: attachment; filename="' . static::inflect($downloadFileName) . '"'); } else { - header('Content-Disposition: inline; filename="' . G::inflect($downloadFileName) . '"'); + header('Content-Disposition: inline; filename="' . static::inflect($downloadFileName) . '"'); } header('Content-Type: ' . $contentType);