git.cweiske.de
/
phorkie.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Correct E_NOTICE on error when remote forking.
[phorkie.git]
/
src
/
phorkie
/
ForkRemote.php
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'