// Add points to user or begging rallye account
function addPointsBeg ($userid, $points) {
// Default is not added
- $added = false;
+ $added = FALSE;
// Is begging rallye active?
if (isBegRallyeEnabled()) {
}
// Subtract begged points from member account if the admin has selected one
- if (($added === true) && (isValidUserId(getBegUserid()))) {
+ if (($added === TRUE) && (isValidId(getBegUserid()))) {
// Subtract from this account
$added = ($added && subtractPoints('beg_payout', getBegUserid(), $points));
} // END - if
//-----------------------------------------------------------------------------
// Outputs points which a member can get
-function doTemplateOutputBegPoints ($templateName, $clear = false) {
+function doTemplateOutputBegPoints ($templateName, $clear = FALSE) {
// Default is not the same
$return = '{--BEG_POINTS_MIN_MAX--}';