]> wagnertech.de Git - timetracker.git/blobdiff - WEB-INF/lib/common.lib.php
Added audit info for template create and modify events.
[timetracker.git] / WEB-INF / lib / common.lib.php
index f483b3d4c0ca04af33f7d107e438568ec3fc28a8..6526d730c96df388faa66092856588c877aeee03 100644 (file)
@@ -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.