[Socialtext-commits] SF.net SVN: socialtext: [1000] branches/rug/lib/Socialtext/Rug/MP2.pm
Brought to you by:
socialtextrocks
|
From: <pet...@us...> - 2007-01-30 22:03:50
|
Revision: 1000
http://svn.sourceforge.net/socialtext/?rev=1000&view=rev
Author: petdance
Date: 2007-01-30 14:03:49 -0800 (Tue, 30 Jan 2007)
Log Message:
-----------
Don't call content_type if there are no parms passed
Modified Paths:
--------------
branches/rug/lib/Socialtext/Rug/MP2.pm
Modified: branches/rug/lib/Socialtext/Rug/MP2.pm
===================================================================
--- branches/rug/lib/Socialtext/Rug/MP2.pm 2007-01-30 21:52:10 UTC (rev 999)
+++ branches/rug/lib/Socialtext/Rug/MP2.pm 2007-01-30 22:03:49 UTC (rev 1000)
@@ -85,7 +85,8 @@
}
sub send_http_header {
- return shift->req->content_type( @_ );
+ my $self = shift;
+ $self->req->content_type( @_ ) if @_;
}
sub user {
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|