This commit is contained in:
Catouse
2018-06-15 14:16:26 +08:00
2 changed files with 6 additions and 0 deletions
+2
View File
@@ -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');
+4
View File
@@ -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)