$ERROR = GEN_ERROR_CODE_FROM_ACCOUNT_STATUS($status);
} else {
// ID not found!
- $ERROR = CODE_WRONG_ID;
+ $ERROR = constant('CODE_WRONG_ID');
}
// Construct URL
$URL = "modules.php?module=index&what=login&login=".$ERROR;
} else {
// ID not found!
- $URL = "modules.php?module=index&what=login&login=".CODE_WRONG_ID;
+ $URL = "modules.php?module=index&what=login&login=".constant('CODE_WRONG_ID');
}
// Return URL
} else {
// Userid not set!
DEBUG_LOG(__FUNCTION__, __LINE__, "Userid is not set! BUG!");
- $ERROR = CODE_WRONG_ID;
+ $ERROR = constant('CODE_WRONG_ID');
}
// Any entry found?