sprint_204_57093

This commit is contained in:
sunjun
2022-06-15 02:56:33 +00:00
parent a3f6e18f93
commit ad72c54ce8
+2 -2
View File
@@ -140,11 +140,11 @@
{
if($name != $end)
{
echo strpos(",{$app->user->view->programs},", ",$ID,") !== false ? 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 strpos(",{$app->user->view->programs},", ",$ID,") !== false ? 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;
}
}
?>