+ FROM
+ " . APP_DEFAULT_DB . "." . APP_TABLE_PREFIX . "time_tracking
+ WHERE
-+ ttr_usr_id = " . Misc::escapeInteger($usr_id) . " AND
++ ttr_usr_id = " . Misc::escapeInteger($usr_id) . " AND
+ ttr_created_date BETWEEN '" . Misc::escapeString($start) . "' AND '" . Misc::escapeString($end) . "' AND
+ ttr_iss_id=" . Misc::escapeInteger($issue_id);
+ $res = $GLOBALS["db_api"]->dbh->getOne($stmt);
<input type="checkbox" name="ignore_statuses" value="1" class="default" {if $smarty.post.ignore_statuses == 1}checked{/if}>
<a id="link" class="link" href="javascript:void(null)"
onClick="javascript:toggleCheckbox('weekly_report', 'ignore_statuses', 0)">{t}Ignore Issue Status Changes{/t}</a>
-+ <br />
++ <br />
+ <input type="checkbox" name="show_per_issue" value="1" class="default" {if $smarty.post.show_per_issue == 1}checked{/if}>
+ <a id="link" class="link" href="javascript:void(null)"
+ onClick="javascript:toggleCheckbox('weekly_report', 'show_per_issue', 0)">{t}Show Times spent on issue{/t}</a>
{sectionelse}
{t}No issues closed this time period{/t}
{/section}
-
--- old/include/class.history.php 2007-04-20 12:20:39.000000000 +0300
+++ new/include/class.history.php 2007-04-20 12:25:41.000000000 +0300
@@ -271,6 +271,9 @@