1
This commit is contained in:
parent
ed3db8ad4f
commit
9bbce80633
@ -29,7 +29,15 @@ class FragmentPool extends BaseModel {
|
|||||||
'alloc_time' => $allocTime,
|
'alloc_time' => $allocTime,
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
return $rows ? $rows : array();
|
$items = array();
|
||||||
|
if ($rows) {
|
||||||
|
foreach ($rows as $row) {
|
||||||
|
if ($row['fragment_num'] > 0) {
|
||||||
|
array_push($items, $row);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
return $items;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user