projects
/
irspy-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Display init-response options.
[irspy-moved-to-github.git]
/
web
/
htdocs
/
raw.html
diff --git
a/web/htdocs/raw.html
b/web/htdocs/raw.html
index
063f9b6
..
cd797c7
100644
(file)
--- a/
web/htdocs/raw.html
+++ b/
web/htdocs/raw.html
@@
-1,4
+1,4
@@
-%# $Id: raw.html,v 1.3 2006-09-25 16:37:55 mike Exp $
+%# $Id: raw.html,v 1.6 2006-11-29 12:31:25 mike Exp $
<%args>
$id
</%args>
<%args>
$id
</%args>
@@
-17,8
+17,7
@@
if ($n == 0) {
$m->comp("/chrome/layout.mc", component => "/details/error.mc",
title => "Error", message => "No such ID '$id'");
} else {
$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;
}
$r->content_type("text/xml");
print $xml;
}