SimplePortal

Development => Bugs => Fixed or Bogus Bugs => Topic started by: Sapinho® on July 04, 2012, 05:16:59 PM

Title: lastLogin to last_login upgrade smf 2.0.2
Post 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

Code: [Select]
// 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
Title: Re: lastLogin to last_login upgrade smf 2.0.2
Post by: [SiNaN] on August 13, 2014, 05:26:15 PM
Fixed for the upcoming version.
SimplePortal 2.3.8 © 2008-2024, SimplePortal