Skip to content

Commit

Permalink
refs #1402
Browse files Browse the repository at this point in the history
 * 묻어가서 rss, atom 시 나오는 undefined error 교정
  • Loading branch information
yupmin committed Jan 5, 2010
1 parent 7afc5d4 commit 5b91c84
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion framework/Dispatcher.php
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ private function URIinterpreter() {
$interfacePath = 'interface/blog/'.$pathPart.'.php';
break;
case 'rss': case 'atom':
if(in_array($uri['fragment'][1],array('category','tag','search'))) {
if(isset($uri['fragment'][1]) && in_array($uri['fragment'][1],array('category','tag','search'))) {
$pathPart = $uri['fragment'][0].'/'.$uri['fragment'][1];
$interfacePath = 'interface/'.$pathPart.'/index.php';
}
Expand Down

0 comments on commit 5b91c84

Please # to comment.