From e8dcba2dcce2da7d0bc5fbe5bfc9bf00e81c036c Mon Sep 17 00:00:00 2001 From: Sebastian Grewe Date: Mon, 13 May 2013 09:20:37 +0200 Subject: [PATCH] removed some warning output on shares class --- public/include/classes/share.class.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/public/include/classes/share.class.php b/public/include/classes/share.class.php index 8e64c769..cd93fe0f 100644 --- a/public/include/classes/share.class.php +++ b/public/include/classes/share.class.php @@ -104,10 +104,10 @@ class Share { $this->iLastUpstreamId = @$this->oUpstream->id ? $this->oUpstream->id : 0; } public function getLastUpstreamId() { - return $this->iLastUpstreamId; + return @$this->iLastUpstreamId; } public function getUpstreamFinder() { - return $this->oUpstream->account; + return @$this->oUpstream->account; } public function getUpstreamId() { return @$this->oUpstream->id;