Merge branch 'lite' of https://gitlab.zcorp.cc/easycorp/zentaopms into lite
This commit is contained in:
@@ -523,7 +523,7 @@ class actionModel extends model
|
||||
$this->app->loadLang('execution');
|
||||
$linkedProducts = $this->dao->select('id,name')->from(TABLE_PRODUCT)->where('id')->in($action->extra)->fetchPairs('id', 'name');
|
||||
$action->extra = '';
|
||||
if($linkedProducts)
|
||||
if($linkedProducts and $this->config->vision == 'rnd')
|
||||
{
|
||||
foreach($linkedProducts as $productID => $productName) $linkedProducts[$productID] = html::a(helper::createLink('product', 'browse', "productID=$productID"), "#{$productID} {$productName}");
|
||||
$action->extra = sprintf($this->lang->execution->action->extra, '<strong>' . join(', ', $linkedProducts) . '</strong>');
|
||||
|
||||
Reference in New Issue
Block a user