Skip to content

Commit

Permalink
fixed the variable name to resolve child count
Browse files Browse the repository at this point in the history
  • Loading branch information
caseysoftware committed Apr 5, 2014
1 parent 11f4549 commit 64f83d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion includes/cleanup_functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -489,7 +489,7 @@ function __extract_from_showtask2($arr, $level, $today_view, $s, $m, $jsTaskId,
}

$open_link = '<a href="javascript: void(0);"><img onclick="expand_collapse(\'' . $jsTaskId . '\', \'tblProjects\',\'\',' . ($level + 1) . ');" id="' . $jsTaskId . '_collapse" src="' . w2PfindImage('icons/collapse.gif') . '" border="0" align="center" ' . (!$expanded ? 'style="display:none"' : '') . ' alt="" /><img onclick="expand_collapse(\'' . $jsTaskId . '\', \'tblProjects\',\'\',' . ($level + 1) . ');" id="' . $jsTaskId . '_expand" src="' . w2PfindImage('icons/expand.gif') . '" border="0" align="center" ' . ($expanded ? 'style="display:none"' : '') . ' alt="" /></a>';
if (isset($arr['task_nr_of_children']) && $arr['task_nr_of_children']) {
if (isset($arr['children']) && $arr['children']) {
$is_parent = true;
} else {
$is_parent = false;
Expand Down

0 comments on commit 64f83d1

Please sign in to comment.