From 305585b87414910f4b07101cfbb56e4bcd912f99 Mon Sep 17 00:00:00 2001 From: dante Date: Thu, 19 Oct 2017 10:59:28 -0400 Subject: [PATCH] change to static self reference form to call methods --- gulliver/system/class.g.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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);