projects
/
timetracker.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Some refactoring.
[timetracker.git]
/
WEB-INF
/
lib
/
ttProjectHelper.class.php
diff --git
a/WEB-INF/lib/ttProjectHelper.class.php
b/WEB-INF/lib/ttProjectHelper.class.php
index
0a97de2
..
06605c7
100644
(file)
--- a/
WEB-INF/lib/ttProjectHelper.class.php
+++ b/
WEB-INF/lib/ttProjectHelper.class.php
@@
-77,9
+77,9
@@
class ttProjectHelper {
// getProjects - returns an array of active and inactive projects in a team.
static function getProjects()
{
// getProjects - returns an array of active and inactive projects in a team.
static function getProjects()
{
-
global $user;
-
-
$result = array();
+ global $user;
+
+ $result = array();
$mdb2 = getConnection();
$sql = "select id, name, tasks from tt_projects
$mdb2 = getConnection();
$sql = "select id, name, tasks from tt_projects