Vergleich inc/tasks/promotions.php - 1.8.18 - 1.8.30

  Keine Änderungen   Hinzugefügt   Modifiziert   Entfernt
Zeile 116Zeile 116
				default:
$timeonline = $promotion['online']*60*60*24;
}

				default:
$timeonline = $promotion['online']*60*60*24;
}

			$sql_where .= "{$and}timeonline <= '".(TIME_NOW-$timeonline)."'";

			$sql_where .= "{$and}timeonline > '".$timeonline."'";

			$and = " AND ";
}


			$and = " AND ";
}


Zeile 184Zeile 184
				$log_inserts[] = array(
'pid' => $promotion['pid'],
'uid' => $user['uid'],

				$log_inserts[] = array(
'pid' => $promotion['pid'],
'uid' => $user['uid'],

					'oldusergroup' => $user['additionalgroups'],

					'oldusergroup' => $db->escape_string($user['additionalgroups']),

					'newusergroup' => $promotion['newusergroup'],
'dateline' => TIME_NOW,
'type' => "secondary",

					'newusergroup' => $promotion['newusergroup'],
'dateline' => TIME_NOW,
'type' => "secondary",