fix undefined index when adding
This commit is contained in:
parent
d2d1c3003b
commit
fdab0b64b7
1 changed files with 1 additions and 0 deletions
|
@ -606,6 +606,7 @@ if( !empty($_POST['generic']) && ALLOW_NEW_AUTOBLOGS && ALLOW_NEW_AUTOBLOGS_BY_L
|
||||||
if(empty($error)) {
|
if(empty($error)) {
|
||||||
try {
|
try {
|
||||||
$rssurl = parse_url($_POST['rssurl']);
|
$rssurl = parse_url($_POST['rssurl']);
|
||||||
|
if(!isset($rssurl['query'])) $rssurl['query'] = '';
|
||||||
$rssurl = $rssurl['scheme'].'://'.$rssurl['host'].$rssurl['path'].'?'.html_entity_decode($rssurl['query']);
|
$rssurl = $rssurl['scheme'].'://'.$rssurl['host'].$rssurl['path'].'?'.html_entity_decode($rssurl['query']);
|
||||||
$rssurl = DetectRedirect($rssurl);
|
$rssurl = DetectRedirect($rssurl);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue