From 612d886dd810ba73ff321b49fff248f9cd2fd199 Mon Sep 17 00:00:00 2001 From: Ryan Cramer Date: Tue, 9 Apr 2019 06:16:13 -0400 Subject: [PATCH] Typo fixes per processwire/processwire-issues#797 --- wire/core/WireArray.php | 2 +- wire/modules/Process/ProcessModule/ProcessModule.module | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/wire/core/WireArray.php b/wire/core/WireArray.php index d3f2677a..9a9453a9 100644 --- a/wire/core/WireArray.php +++ b/wire/core/WireArray.php @@ -83,7 +83,7 @@ class WireArray extends Wire implements \IteratorAggregate, \ArrayAccess, \Count protected $duplicateChecking = true; /** - * Flags for PHP sort functdions + * Flags for PHP sort functions * * @var int * diff --git a/wire/modules/Process/ProcessModule/ProcessModule.module b/wire/modules/Process/ProcessModule/ProcessModule.module index d9015a3d..bc7187e0 100644 --- a/wire/modules/Process/ProcessModule/ProcessModule.module +++ b/wire/modules/Process/ProcessModule/ProcessModule.module @@ -1141,14 +1141,14 @@ class ProcessModule extends Process { /**********************************************************************************************************************************************************/ public function ___executeUpload($inputName = '') { - if(!$inputName) throw new WireException("This URL may be be accessed directly"); + if(!$inputName) throw new WireException("This URL may not be accessed directly"); $install = $this->wire(new ProcessModuleInstall()); $install->uploadModule($inputName); $this->session->redirect('./?reset=1'); } public function ___executeDownloadURL($url = '') { - if(!$url) throw new WireException("This URL may be be accessed directly"); + if(!$url) throw new WireException("This URL may not be accessed directly"); $install = $this->wire(new ProcessModuleInstall()); $install->downloadModule($url); $this->session->redirect('./?reset=1');