From d23f467958be54df22203be38f254303a70c3810 Mon Sep 17 00:00:00 2001 From: Ole Vik Date: Fri, 14 Apr 2017 12:46:42 +0200 Subject: [PATCH] Fix typo in GPM.php --- system/src/Grav/Common/GPM/GPM.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/system/src/Grav/Common/GPM/GPM.php b/system/src/Grav/Common/GPM/GPM.php index 99ce448ee6..4b324b5b14 100644 --- a/system/src/Grav/Common/GPM/GPM.php +++ b/system/src/Grav/Common/GPM/GPM.php @@ -513,7 +513,7 @@ public static function downloadPackage($package_file, $tmp) $filename = basename($package['path']); if (Grav::instance()['config']->get('system.gpm.official_gpm_only') && $package['host'] !== 'getgrav.org') { - throw new \RuntimeException("Only offical GPM URLs are allowed. You can modify this behavior in the System configuration."); + throw new \RuntimeException("Only official GPM URLs are allowed. You can modify this behavior in the System configuration."); } $output = Response::get($package_file, []);