projects
/
timetracker.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Finished integrating improvements for Danish language file.
[timetracker.git]
/
WEB-INF
/
lib
/
ttTeamHelper.class.php
diff --git
a/WEB-INF/lib/ttTeamHelper.class.php
b/WEB-INF/lib/ttTeamHelper.class.php
index
3804b52
..
febf075
100644
(file)
--- a/
WEB-INF/lib/ttTeamHelper.class.php
+++ b/
WEB-INF/lib/ttTeamHelper.class.php
@@
-520,9
+520,9
@@
class ttTeamHelper {
$mdb2 = getConnection();
$result = array();
$mdb2 = getConnection();
$result = array();
- $sql = "select c.id, c.cron_spec, c.email, fr.name from tt_cron c
+ $sql = "select c.id, c.cron_spec, c.email,
c.report_condition,
fr.name from tt_cron c
left join tt_fav_reports fr on (fr.id = c.report_id)
left join tt_fav_reports fr on (fr.id = c.report_id)
- where c.team_id = $team_id and c.status
is not null
";
+ where c.team_id = $team_id and c.status
= 1 and fr.status = 1
";
$res = $mdb2->query($sql);
$result = array();
if (!is_a($res, 'PEAR_Error')) {
$res = $mdb2->query($sql);
$result = array();
if (!is_a($res, 'PEAR_Error')) {
@@
-773,7
+773,7
@@
class ttTeamHelper {
$time_format_part = '';
$week_start_part = '';
$tracking_mode_part = '';
$time_format_part = '';
$week_start_part = '';
$tracking_mode_part = '';
- $task_required_part = ' , task_required = '.
$mdb2->quote
($fields['task_required']);
+ $task_required_part = ' , task_required = '.
intval
($fields['task_required']);
$record_type_part = '';
$uncompleted_indicators_part = '';
$plugins_part = '';
$record_type_part = '';
$uncompleted_indicators_part = '';
$plugins_part = '';