git.cweiske.de
/
phorkie.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
370cf6c
)
Correct E_NOTICE on error when remote forking.
author
Justin J. Novack
<jnovack@gmail.com>
Sun, 7 Oct 2012 20:32:08 +0000
(16:32 -0400)
committer
Christian Weiske
<cweiske@cweiske.de>
Wed, 24 Oct 2012 13:07:06 +0000
(15:07 +0200)
src/phorkie/ForkRemote.php
patch
|
blob
|
history
diff --git
a/src/phorkie/ForkRemote.php
b/src/phorkie/ForkRemote.php
index 3f6a4787ce818f89d4b37a940ffc5abcd0ff126e..76eec0589c3560193ec97f9aa3408a1fc0c4af4d 100644
(file)
--- a/
src/phorkie/ForkRemote.php
+++ b/
src/phorkie/ForkRemote.php
@@
-23,7
+23,7
@@
class ForkRemote
public function parse()
{
$arUrl = parse_url($this->url);
- $scheme =
$arUrl['scheme'] ?
: '';
+ $scheme =
isset($arUrl['scheme']) ? $arUrl['scheme']
: '';
if ($scheme == 'https' && isset($arUrl['host'])
&& $arUrl['host'] == 'gist.github.com'