* [bug#56461,done,0.5h] set default canModify.

This commit is contained in:
liumengyi
2024-10-29 09:45:50 +08:00
committed by 朱金勇
parent d20bcf0c26
commit a3f1b593ce
+1 -1
View File
@@ -1281,7 +1281,7 @@ class docModel extends model
if($type == 'mine' || $type == 'custom')
{
$pairs = $this->getSubSpacesByType($type);
foreach($pairs as $key => $value) $spaces[] = array('id' => $key, 'name' => $value, 'type' => $type);
foreach($pairs as $key => $value) $spaces[] = array('id' => $key, 'name' => $value, 'type' => $type, 'canModify' => true);
}
if($type == 'product')
{