X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=inc%2Ffunctions.php;h=4a8296e18a6172ef7d54d4f9158979f6d860b498;hp=7c3470844ca825ef499ceb334fc567a2ad72f2c6;hb=0ddf8f6c578aa2c1ff1db9fb8eb0b93a1e247b73;hpb=4897babaa848adad07175f112d6fa0addbebe929 diff --git a/inc/functions.php b/inc/functions.php index 7c3470844c..4a8296e18a 100644 --- a/inc/functions.php +++ b/inc/functions.php @@ -729,7 +729,7 @@ function bigintval ($num, $castValue = true, $abortOnMismatch = true) { // Has the whole value changed? if (('' . $ret . '' != '' . $num . '') && ($abortOnMismatch === true) && (!is_null($num))) { // Log the values - debug_report_bug(__FUNCTION__, __LINE__, 'Problem with number found. ret=' . $ret . ', num='. $num); + debug_report_bug(__FUNCTION__, __LINE__, 'Problem with number found. ret[' . gettype($ret) . ']=' . $ret . ', num[' . gettype($num) . ']='. $num); } // END - if // Return result @@ -747,7 +747,7 @@ function createTimestampFromSelections ($prefix, $postData) { $M1 = getMonth(); // If so and if current time is before 02/29 and estimated time is after 02/29 then add 86400 seconds (one day) - if ((floor($TEST) == $TEST) && ($M1 == '02') && ($postData[$prefix . '_mo'] > '02')) $SWITCH = getConfig('ONE_DAY'); + if ((floor($TEST) == $TEST) && ($M1 == '02') && ($postData[$prefix . '_mo'] > '02')) $SWITCH = getOneDay(); // First add years... $ret += $postData[$prefix . '_ye'] * (31536000 + $SWITCH); @@ -1981,7 +1981,7 @@ function determineReferalId () { } // END - if // Set cookie - setSession('refid', bigintval($GLOBALS['refid'])); + setSession('refid', $GLOBALS['refid']); } // END - if // Return determined refid