X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;ds=sidebyside;f=inc%2Fmysql-manager.php;h=cedb715f33342b14c6ebe456728de9474d34ae98;hb=43f8fab36af6c030d8835e1118cab430f8585e67;hp=684d43d3d8a1fab1474d42cdea62273be34a11b4;hpb=8ee39f4094e71546b3cf7e4edb97492be0ea349e;p=mailer.git diff --git a/inc/mysql-manager.php b/inc/mysql-manager.php index 684d43d3d8..cedb715f33 100644 --- a/inc/mysql-manager.php +++ b/inc/mysql-manager.php @@ -839,7 +839,7 @@ function SEND_MODE_MAILS($mod, $modes) break; default: - DEBUG_LOG(__FILE__, __LINE__, sprintf("Unknown mode %s detected.", $mode)); + DEBUG_LOG(__FUNCTION__, __LINE__, sprintf("Unknown mode %s detected.", $mode)); $content = MEMBER_UNKNOWN_MODE.": ".$mode."\n\n"; break; } @@ -871,7 +871,7 @@ function SEND_MODE_MAILS($mod, $modes) break; default: - DEBUG_LOG(__FILE__, __LINE__, sprintf("Unsupported module %s detected.", $mod)); + DEBUG_LOG(__FUNCTION__, __LINE__, sprintf("Unsupported module %s detected.", $mod)); $content = "".UNKNOWN_MODULE.""; break; } @@ -1151,6 +1151,7 @@ function GET_REF_LEVEL_PERCENTS ($level) { * * Dynamic referal system, can also send mails! * + * subject = Subject line, write in lower-case letters and underscore is allowed * uid = Referal ID wich should receive... * points = ... xxx points * send_notify = shall I send the referal an email or not? @@ -1159,7 +1160,7 @@ function GET_REF_LEVEL_PERCENTS ($level) { * add_mode = Add points only to $uid or also refs? (WARNING! Changing "ref" to "direct" * for default value will cause no referal will get points ever!!!) */ -function ADD_POINTS_REFSYSTEM ($uid, $points, $send_notify=false, $rid="0", $locked=false, $add_mode="ref") { +function ADD_POINTS_REFSYSTEM ($subject, $uid, $points, $send_notify=false, $rid="0", $locked=false, $add_mode="ref") { //* DEBUG: */ print "----------------------- ".__FUNCTION__." - ENTRY ------------------------