Merge branch 'master' of https://github.com/easysoft/zentaopms
This commit is contained in:
@@ -2,3 +2,5 @@ ALTER TABLE `zt_release` ADD `marker` enum('0','1') NOT NULL default '0' AFTER `
|
||||
ALTER TABLE `zt_doc` ADD `collector` text NOT NULL AFTER `views`;
|
||||
ALTER TABLE `zt_doclib` ADD `collector` text NOT NULL AFTER `main`;
|
||||
ALTER TABLE `zt_module` ADD `collector` text NOT NULL AFTER `owner`;
|
||||
|
||||
UPDATE `zt_block` SET `grid` = 8 WHERE `source` in ('product', 'project', 'qa') OR `block` in ('flowchart', 'assigntome');
|
||||
|
||||
@@ -1009,8 +1009,12 @@ class block extends control
|
||||
{
|
||||
foreach($productBuilds as $buildID => $build)
|
||||
{
|
||||
/* If don't clone $build, the exploded bugs of build will be stored in dao::$cache and it occurs an error when the qa statistic block be loaded twice. */
|
||||
$build = clone $build;
|
||||
$build->bugs = explode(',', trim($build->bugs, ','));
|
||||
foreach($build->bugs as $bugID) $bugIDList[$bugID] = $bugID;
|
||||
|
||||
$builds[$product][$buildID] = $build;
|
||||
}
|
||||
}
|
||||
foreach($openedBugs as $buildBugs)
|
||||
|
||||
Reference in New Issue
Block a user