Skip to content

Commit 2151462

Browse files
author
\nrlucke
committed
fix #246
1 parent 1171e22 commit 2151462

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

controllers/cpo.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -324,7 +324,7 @@ private function addChildren($grouped, &$parent)
324324

325325
private function computeProgress(&$block)
326326
{
327-
if (!sizeof($block['children'])) {
327+
if (!($block['children'])) {
328328
return 1;
329329
}
330330

@@ -338,7 +338,7 @@ function ($section) {return $section['progress']; },
338338

339339
private function setDate($progress, &$block)
340340
{
341-
if (!sizeof($block['children'])) {
341+
if (!($block['children'])) {
342342
return null;
343343
}
344344

0 commit comments

Comments
 (0)