sprint_204_57093

This commit is contained in:
sunjun
2022-06-15 03:03:28 +00:00
parent ad72c54ce8
commit a4b45ab9ff
+3 -3
View File
@@ -136,15 +136,15 @@
<?php
$end = end($programList);
reset($programList);
foreach($programList as $ID => $name)
foreach($programList as $id => $name)
{
if($name != $end)
{
echo common::hasPriv('program', 'product') ? html::a($this->createLink('program', 'product', "programID=$ID"), $name) . '/ ' : $name . '/ ';
echo common::hasPriv('program', 'product') ? html::a($this->createLink('program', 'product', "programID=$id"), $name) . '/ ' : $name . '/ ';
}
else
{
echo common::hasPriv('program', 'product') ? html::a($this->createLink('program', 'product', "programID=$ID"), $name) : $name;
echo common::hasPriv('program', 'product') ? html::a($this->createLink('program', 'product', "programID=$id"), $name) : $name;
}
}
?>