phpBB

Code Changes

File: phpbb/tree/nestedset.php

  Unmodified   Added   Modified   Removed
Line 837Line 837
				' . $this->get_sql_where('AND') . '
ORDER BY ' . $this->column_left_id . ', ' . $this->column_item_id . ' ASC';
$result = $this->db->sql_query($sql);

				' . $this->get_sql_where('AND') . '
ORDER BY ' . $this->column_left_id . ', ' . $this->column_item_id . ' ASC';
$result = $this->db->sql_query($sql);

		while ($row = $this->db->sql_fetchrow($result))




		$rows = $this->db->sql_fetchrowset($result);
$this->db->sql_freeresult($result);

foreach ($rows as $row)

		{
// First we update the left_id for this module
if ($row[$this->column_left_id] != $new_id)

		{
// First we update the left_id for this module
if ($row[$this->column_left_id] != $new_id)

Line 862Line 865
			}
$new_id++;
}

			}
$new_id++;
}

		$this->db->sql_freeresult($result);

 

if ($acquired_new_lock)
{


if ($acquired_new_lock)
{