X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=WEB-INF%2Flib%2Fcommon.lib.php;h=6526d730c96df388faa66092856588c877aeee03;hb=632603b4ab876cc0fa641402a16c824888deae7a;hp=f483b3d4c0ca04af33f7d107e438568ec3fc28a8;hpb=30634c0b3869d459552df1da06ec264fb1e6b086;p=timetracker.git diff --git a/WEB-INF/lib/common.lib.php b/WEB-INF/lib/common.lib.php index f483b3d4..6526d730 100644 --- 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) { - return ($val === true); + return (defined($val) && constant($val) === true); } // ttValidString is used to check user input to validate a string.