From 11159a347b4dd866dfafa4eaebb5aa8eca573cd6 Mon Sep 17 00:00:00 2001
From: Jacek Kowalski <Jacek@jacekk.info>
Date: Sun, 16 Sep 2012 22:16:48 +0000
Subject: [PATCH] Poprawienie błędu typu "użycie niezainicjowanego indeksu tablicy" w klasie DownloadHelper.

---
 class/DownloadHelper.php |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/class/DownloadHelper.php b/class/DownloadHelper.php
index 9059c13..6100222 100644
--- a/class/DownloadHelper.php
+++ b/class/DownloadHelper.php
@@ -10,7 +10,7 @@
 	protected $cacheInfo = array();
 	
 	function build_url($components) {
-		return $components['scheme'].'://'.(isset($components['user']) && !empty($components['user']) ? $components['user'].(isset($components['pass']) && !empty($components['pass']) ? ':'.$components['pass'] : '').'@' : '').$components['host'].($components['path'] ? $components['path'] : '/').($components['query'] ? '?'.$components['query'] : '');
+		return $components['scheme'].'://'.(isset($components['user']) && !empty($components['user']) ? $components['user'].(isset($components['pass']) && !empty($components['pass']) ? ':'.$components['pass'] : '').'@' : '').$components['host'].(isset($components['path']) && !empty($components['path']) ? $components['path'] : '/').(isset($components['query']) && !empty($components['query']) ? '?'.$components['query'] : '');
 	}
 	
 	function __construct($url) {

--
Gitblit v1.9.1