X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fmodules%2Fmember%2Fwhat-beg2.php;h=5e97cec37edbffcef0f499846418c2d6a667309a;hb=8202991f32bfb2056e94a11746c0b5308fe4a273;hp=9f265539f9d9ada84c192f7743983ae32419bba8;hpb=0aaf20f01cb72015549db3f30a0c0821b7c22bf5;p=mailer.git diff --git a/inc/modules/member/what-beg2.php b/inc/modules/member/what-beg2.php index 9f265539f9..5e97cec37e 100644 --- a/inc/modules/member/what-beg2.php +++ b/inc/modules/member/what-beg2.php @@ -17,7 +17,7 @@ * -------------------------------------------------------------------- * * Copyright (c) 2003 - 2009 by Roland Haeder * * Copyright (c) 2009 - 2011 by Mailer Developer Team * - * For more information visit: http://www.mxchange.org * + * For more information visit: http://mxchange.org * * * * This program is free software; you can redistribute it and/or modify * * it under the terms of the GNU General Public License as published by * @@ -56,12 +56,14 @@ $ONLINE = ''; if ((isExtensionActive('autopurge')) && (isBegActiveEnabled()) && ((getApInactiveSince() > 0))) { // Use last online timestamp to keep inactive members away from here - $lastOnline = ' AND (UNIX_TIMESTAMP() - `last_online`) >= {?ap_inactive_since?}'; + $lastOnline = ' AND (UNIX_TIMESTAMP() - `last_online`) < {?ap_inactive_since?}'; } // END - if // Let's check if there are some points left we can pay... $result = SQL_QUERY_ESC("SELECT - `userid`, `beg_points`, `last_online` + `userid`, + `beg_points`, + `last_online` FROM `{?_MYSQL_PREFIX?}_user_data` WHERE