// 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)) {