Oops use the right fields for type and stock

This commit is contained in:
james 2007-12-20 18:17:40 +00:00
parent 515a92dda7
commit a69ad4ae71

View File

@ -32,8 +32,9 @@
if($reports_id > 0) {
$report = report_load($reports_id);
echo $report['type']."\n";
echo $report['stock']."\n";
print_r($report);
echo $report['option']['type']."\n";
echo $report['option']['stock']."\n";
echo $report['desc']."\n";
// echo json_encode($report);
}