fix undefined index when adding

This commit is contained in:
Mitsukarenai 2014-02-14 10:36:31 +01:00
parent d2d1c3003b
commit fdab0b64b7
1 changed files with 1 additions and 0 deletions

View File

@ -606,6 +606,7 @@ if( !empty($_POST['generic']) && ALLOW_NEW_AUTOBLOGS && ALLOW_NEW_AUTOBLOGS_BY_L
if(empty($error)) {
try {
$rssurl = parse_url($_POST['rssurl']);
if(!isset($rssurl['query'])) $rssurl['query'] = '';
$rssurl = $rssurl['scheme'].'://'.$rssurl['host'].$rssurl['path'].'?'.html_entity_decode($rssurl['query']);
$rssurl = DetectRedirect($rssurl);