SimplePortal
Development => Bugs => Fixed or Bogus Bugs => Topic started by: Sapinho® on July 04, 2012, 05:16:59 PM
-
Hi the error this is:
when i want add to block to topstatmember i pick karma good, and i select time to exclude member inactives.
When i do this make error. So if i remove time day this run fine.
i looking for what generate error, i find this:
in archive portalblocks.php
// Last active remove
if (!empty($last_active_limit))
{
$timeLimit = time() - $last_active_limit;
$where[] = "lastLogin > $timeLimit";
}
if (!empty($current_system['where']))
$where[] = $current_system['where'];
if (!empty($where))
$where = 'WHERE (' . implode(')
AND (', $where) . ')';
else
$where = "";
$where[] = "lastLogin > $timeLimit";
in one upgrade of smf DB lastLogin has changed for last_login i replaced this and not error.
i hope i explaid my english not good.
regards
-
Fixed for the upcoming version.