Vergleich install/resources/upgrade17.php - 1.6.0 - 1.6.1

  Keine Änderungen   Hinzugefügt   Modifiziert   Entfernt
Zeile 6Zeile 6
 * Website: http://www.mybboard.com
* License: http://mybb.com/about/license
*

 * Website: http://www.mybboard.com
* License: http://mybb.com/about/license
*

 * $Id: upgrade17.php 5151 2010-07-31 08:58:13Z RyanGordon $

 * $Id: upgrade17.php 5173 2010-08-03 06:29:52Z RyanGordon $

 */

/**

 */

/**

Zeile 509Zeile 509
	
$ipaddress = false;


	
$ipaddress = false;


	$query = $db->simple_select("posts", "ipaddress, longipaddress, pid", "", array('limit_start' => $lower, 'limit' => $ipp));

	$query = $db->simple_select("posts", "ipaddress, pid", "", array('limit_start' => $lower, 'limit' => $ipp));

	while($post = $db->fetch_array($query))
{

	while($post = $db->fetch_array($query))
{

		$db->update_query("posts", array('longipaddress' => my_ip2long($post['ipaddress'])), "pid = '{$post['pid']}'");

		$db->update_query("posts", array('longipaddress' => intval(my_ip2long($post['ipaddress']))), "pid = '{$post['pid']}'");

		$ipaddress = true;
}


		$ipaddress = true;
}


Zeile 577Zeile 577
	$ipaddress = false;
$update_array = array();


	$ipaddress = false;
$update_array = array();


	$query = $db->simple_select("users", "regip, lastip, longlastip, longregip, uid", "", array('limit_start' => $lower, 'limit' => $ipp));

	$query = $db->simple_select("users", "regip, lastip, uid", "", array('limit_start' => $lower, 'limit' => $ipp));

	while($user = $db->fetch_array($query))
{
$update_array = array(

	while($user = $db->fetch_array($query))
{
$update_array = array(