Skip to content
Permalink
Browse files

fixed the variable name to resolve child count

  • Loading branch information
caseysoftware committed Apr 5, 2014
1 parent 11f4549 commit 64f83d1f75091eb42e04210adbdfe70f9e4b46d1
Showing with 1 addition and 1 deletion.
  1. +1 −1 includes/cleanup_functions.php
@@ -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;

0 comments on commit 64f83d1

Please sign in to comment.
You can’t perform that action at this time.