Changeset 2822
- Timestamp:
- 07/21/08 01:34:04 (4 months ago)
- Files:
-
- branches/release-41/lib/MT/App.pm (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
branches/release-41/lib/MT/App.pm
r2781 r2822 1369 1369 my ($author) = @_; 1370 1370 1371 return 0 if $author->is_superuser; 1372 1371 1373 # Check if the user is a commenter and keep them from logging in to the app 1372 1374 my @author_perms = $app->model('permission')->load( … … 1412 1414 my $blog = $app->model('blog')->load($commenter_blog_id) 1413 1415 or return $app->error($app->translate("Can\'t load blog #[_1].", $commenter_blog_id)); 1414 my $url = $app->config('CGIPath') . $app->config('CommentScript'); 1416 my $path = $app->config('CGIPath'); 1417 $path .= '/' unless $path =~ m!/$!; 1418 my $url = $path . $app->config('CommentScript'); 1415 1419 $url .= '?__mode=edit_profile'; 1416 1420 $url .= '&commenter=' . $commenter->id;
