projects
/
irspy-moved-to-github.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0fc6b58
)
Simplify, eliminate temporary.
author
Mike Taylor
<mike@indexdata.com>
Thu, 16 Nov 2006 17:05:51 +0000
(17:05 +0000)
committer
Mike Taylor
<mike@indexdata.com>
Thu, 16 Nov 2006 17:05:51 +0000
(17:05 +0000)
web/htdocs/raw.html
patch
|
blob
|
history
diff --git
a/web/htdocs/raw.html
b/web/htdocs/raw.html
index
5a5f468
..
8b99df5
100644
(file)
--- a/
web/htdocs/raw.html
+++ b/
web/htdocs/raw.html
@@
-1,4
+1,4
@@
-%# $Id: raw.html,v 1.4 2006-11-16 11:48:40 mike Exp $
+%# $Id: raw.html,v 1.5 2006-11-16 17:05:51 mike Exp $
<%args>
$id
</%args>
@@
-14,8
+14,7
@@
if ($n == 0) {
$m->comp("/chrome/layout.mc", component => "/details/error.mc",
title => "Error", message => "No such ID '$id'");
} else {
- my $rec = $rs->record(0);
- my $xml = $rec->render();
+ my $xml = $rs->record(0)->render();
$r->content_type("text/xml");
print $xml;
}