if (isCssOutputMode()) return true;
// Trim value and session variable
- $var = trim(secureString($var)); $value = trim($value);
+ $var = trim(secureString($var));
+ $value = trim($value);
// Is the session variable set?
if (('' . $value . '' == '') && (isSessionVariableSet($var))) {
// Check wether a session variable is set
function isSessionVariableSet ($var) {
- //* DEBUG: */ logDebugMessage(__FUNCTION__, __LINE__, "var={$var}");
+ //* DEBUG: */ logDebugMessage(__FUNCTION__, __LINE__, 'var=' . $var . ' set in session');
return (isset($GLOBALS['_SESSION'][$var]));
}
// Returns wether the value of the session variable or NULL if not set
function getSession ($var) {
// Default is not found ;-)
- $value = null;
+ $value = NULL;
// Is the variable there?
if (isSessionVariableSet($var)) {