A couple more notice errors

darcs-hash:20080720025546-533db-7044949bfaa6676c86f3e1d84d20ecb85aab0937.gz
This commit is contained in:
Mike Cochrane 2008-07-19 22:55:46 -04:00
parent 32136f978a
commit 08dfd72bad
2 changed files with 2 additions and 2 deletions

View File

@ -20,7 +20,7 @@
if (!defined('LACONICA')) { exit(1); } if (!defined('LACONICA')) { exit(1); }
require_once(INSTALLDIR.'/lib/searchaction.php'); require_once(INSTALLDIR.'/lib/searchaction.php');
define(PROFILES_PER_PAGE, 10); define('PROFILES_PER_PAGE', 10);
class PeoplesearchAction extends SearchAction { class PeoplesearchAction extends SearchAction {

View File

@ -769,7 +769,7 @@ function common_fancy_url($action, $args=NULL) {
case 'userrss': case 'userrss':
return common_path($args['nickname'].'/rss'); return common_path($args['nickname'].'/rss');
case 'showstream': case 'showstream':
if ($args && $args['page']) { if ($args && isset($args['page'])) {
return common_path($args['nickname'].'?page=' . $args['page']); return common_path($args['nickname'].'?page=' . $args['page']);
} else { } else {
return common_path($args['nickname']); return common_path($args['nickname']);