projects
/
timetracker.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Replaced some more text links with icons.
[timetracker.git]
/
WEB-INF
/
lib
/
ttConfigHelper.class.php
diff --git
a/WEB-INF/lib/ttConfigHelper.class.php
b/WEB-INF/lib/ttConfigHelper.class.php
index
6790e21
..
33e94e5
100644
(file)
--- a/
WEB-INF/lib/ttConfigHelper.class.php
+++ b/
WEB-INF/lib/ttConfigHelper.class.php
@@
-73,7
+73,7
@@
class ttConfigHelper {
}
// The getIntValue parses an integer value from the source config array.
}
// The getIntValue parses an integer value from the source config array.
- function getIntValue($name) {
+ function getIntValue($name
, $defaultVal = 0
) {
$name_with_colon = $name.':';
$len = strlen($name_with_colon);
$name_with_colon = $name.':';
$len = strlen($name_with_colon);
@@
-87,7
+87,7
@@
class ttConfigHelper {
}
}
}
}
}
}
- return
false
;
+ return
$defaultVal
;
}
// The setIntValue sets an integer value into config array.
}
// The setIntValue sets an integer value into config array.