mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-04-23 19:37:23 +08:00
locale file & thank api
This commit is contained in:
+1
-1
@@ -290,7 +290,7 @@ function docleanup($forceAll = 0, $printProgress = false) {
|
||||
if ($is_donor == 'yes' && $donortimes_bonus > 0)
|
||||
$all_bonus = $all_bonus * $donortimes_bonus;
|
||||
KPS("+",$all_bonus,$arr["userid"]);
|
||||
sql_query("update users set seed_points = seed_points + $seedPoints where id = {$arr["userid"]}");
|
||||
sql_query("update users set seed_points = ifnull(seed_points, 0) + $seedPoints where id = {$arr["userid"]}");
|
||||
}
|
||||
}
|
||||
$log = 'calculate seeding bonus';
|
||||
|
||||
@@ -2933,7 +2933,7 @@ function commenttable($rows, $type, $parent_id, $review = false)
|
||||
{
|
||||
// $userRow = get_user_row($row['user']);
|
||||
$userInfo = $userInfoArr->get($row['user']);
|
||||
$userRow = $userInfo->toArray();
|
||||
$userRow = empty($userInfo) ? [] : $userInfo->toArray();
|
||||
if ($count>=1)
|
||||
{
|
||||
if ($Advertisement->enable_ad()){
|
||||
|
||||
Reference in New Issue
Block a user