fix doc md problem
This commit is contained in:
parent
cea0a78962
commit
471066a15a
|
@ -334,7 +334,7 @@ class ServiceController extends Zend_Controller_Action
|
|||
{
|
||||
$fund.='<li>'.$refer['fund_type'].':'.str_replace(array("\r\n", "\n", "\r"),'',$refer['title']).'(编号:'.$refer['fund_id'].")</li>";
|
||||
}
|
||||
if (empty($fund)) $fund=$row['suppinfo'];
|
||||
if (empty($fund) && !empty($row['suppinfo'])) $fund=$row['suppinfo'];
|
||||
|
||||
}
|
||||
|
||||
|
@ -356,7 +356,7 @@ class ServiceController extends Zend_Controller_Action
|
|||
$xslt->setParameter('','projection',$projection);
|
||||
$xslt->setParameter('','reference',$reference);
|
||||
$xslt->setParameter('','citation',$citation);
|
||||
$xslt->setParameter('','fund',$fund);
|
||||
if ($fund) $xslt->setParameter('','fund',$fund);
|
||||
$XSL = new DOMDocument();
|
||||
$XSL->load( '../data/doc.xsl', LIBXML_NOCDATA);
|
||||
$xslt->importStylesheet($XSL);
|
||||
|
|
Loading…
Reference in New Issue