projects
/
timetracker.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fixes to import/export for timesheets and approval status.
[timetracker.git]
/
WEB-INF
/
lib
/
common.lib.php
diff --git
a/WEB-INF/lib/common.lib.php
b/WEB-INF/lib/common.lib.php
index
f483b3d
..
6526d73
100644
(file)
--- a/
WEB-INF/lib/common.lib.php
+++ b/
WEB-INF/lib/common.lib.php
@@
-165,7
+165,7
@@
function check_extension($ext)
// isTrue is a helper function to return correct false for older config.php values defined as a string 'false'.
function isTrue($val)
{
// isTrue is a helper function to return correct false for older config.php values defined as a string 'false'.
function isTrue($val)
{
- return (
$val
=== true);
+ return (
defined($val) && constant($val)
=== true);
}
// ttValidString is used to check user input to validate a string.
}
// ttValidString is used to check user input to validate a string.