From 6361280d991f5daf9dbd1cc0b1e1b19b03387f91 Mon Sep 17 00:00:00 2001 From: Gert Date: Thu, 9 Apr 2015 20:13:10 +0200 Subject: [PATCH] remove supressed warnings --- system/src/Grav/Common/GPM/Remote/Grav.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/system/src/Grav/Common/GPM/Remote/Grav.php b/system/src/Grav/Common/GPM/Remote/Grav.php index bbca4c6c1..7b9cef274 100644 --- a/system/src/Grav/Common/GPM/Remote/Grav.php +++ b/system/src/Grav/Common/GPM/Remote/Grav.php @@ -24,8 +24,8 @@ class Grav extends AbstractPackageCollection $this->fetch($refresh, $callback); $this->data = json_decode($this->raw, true); - $this->version = @$this->data['version'] ?: '-'; - $this->date = @$this->data['date'] ?: '-'; + $this->version = isset($this->data['version']) ? $this->data['version'] : '-'; + $this->date = isset($this->data['date']) ? $this->data['date'] : '-'; foreach ($this->data['assets'] as $slug => $data) { $this->items[$slug] = new Package($data);