* [misc] fix data type of space id.

This commit is contained in:
sunhao
2024-10-18 10:53:30 +08:00
committed by 刘刚
parent e8102d985f
commit ba3f8dcdaf
+1 -1
View File
@@ -1452,7 +1452,7 @@ class doc extends control
$picks = $noPicks ? '' : ",$picks,";
list($spaces, $spaceID) = $this->doc->getSpaces($type, $spaceID);
$data = array('spaceID' => $spaceID);
$data = array('spaceID' => (int)$spaceID);
$libs = $this->doc->getLibsOfSpace($type, $spaceID);
$libIds = array_keys($libs);