From 7398267be192f68fb2ca1f7f3f18b10898a77333 Mon Sep 17 00:00:00 2001 From: Ryan Cramer Date: Fri, 3 Nov 2017 10:51:44 -0400 Subject: [PATCH] Bump version to 3.0.82 --- wire/core/ProcessWire.php | 2 +- .../Inputfield/InputfieldFile/InputfieldFile.module | 11 ++++++----- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/wire/core/ProcessWire.php b/wire/core/ProcessWire.php index 6b93b2ed..89e82cbd 100644 --- a/wire/core/ProcessWire.php +++ b/wire/core/ProcessWire.php @@ -45,7 +45,7 @@ class ProcessWire extends Wire { * Reversion revision number * */ - const versionRevision = 81; + const versionRevision = 82; /** * Version suffix string (when applicable) diff --git a/wire/modules/Inputfield/InputfieldFile/InputfieldFile.module b/wire/modules/Inputfield/InputfieldFile/InputfieldFile.module index 9c935dfa..98233da0 100644 --- a/wire/modules/Inputfield/InputfieldFile/InputfieldFile.module +++ b/wire/modules/Inputfield/InputfieldFile/InputfieldFile.module @@ -163,11 +163,12 @@ class InputfieldFile extends Inputfield implements InputfieldItemList, Inputfiel } public function get($key) { - if($key == 'renderValueMode') return $this->renderValueMode; - if($key == 'singleFileReplacement') return $this->singleFileReplacement; - if($key == 'descriptionFieldLabel') return $this->labels['description']; - if($key == 'tagsFieldLabel') return $this->labels['tags']; - if($key == 'deleteLabel') return $this->labels['delete']; + if($key === 'renderValueMode') return $this->renderValueMode; + if($key === 'singleFileReplacement') return $this->singleFileReplacement; + if($key === 'descriptionFieldLabel') return $this->labels['description']; + if($key === 'tagsFieldLabel') return $this->labels['tags']; + if($key === 'deleteLabel') return $this->labels['delete']; + if($key === 'themeSettings') return $this->themeSettings; return parent::get($key); }