Vergleich install/resources/upgrade30.php - 1.8.4 - 1.8.9

  Keine Änderungen   Hinzugefügt   Modifiziert   Entfernt
Zeile 9Zeile 9
 */

/**

 */

/**

 * Upgrade Script: 1.6.14, 1.6.15 or 1.6.16

 * Upgrade Script: 1.6.14, 1.6.15, 1.6.16, 1.6.17 or 1.6.18

 */

$upgrade_detail = array(

 */

$upgrade_detail = array(

Zeile 1116Zeile 1116
		$groups[] = "'{$group['gid']}'";
}


		$groups[] = "'{$group['gid']}'";
}


	$usergroups = implode(',', $groups);
$db->update_query('usergroups', array('canbereported' => 1), "gid IN ({$usergroups})");




	if(!empty($groups))
{
$usergroups = implode(',', $groups);
$db->update_query('usergroups', array('canbereported' => 1), "gid IN ({$usergroups})");
}


$db->update_query('usergroups', array('canviewboardclosed' => 1), 'cancp = 1');



$db->update_query('usergroups', array('canviewboardclosed' => 1), 'cancp = 1');


Zeile 1246Zeile 1249
	}
else
{

	}
else
{

		$threads = $_POST['theadspage'];

		$threads = (int)$_POST['theadspage'];

	}

if($_POST['threadstart'])
{

	}

if($_POST['threadstart'])
{

		$startat = $_POST['threadstart'];

		$startat = (int)$_POST['threadstart'];

		$upper = $startat+$threads;
$lower = $startat;
}

		$upper = $startat+$threads;
$lower = $startat;
}

Zeile 1801Zeile 1804
			}
else
{

			}
else
{

				$ipp = $_POST['ipspage'];

				$ipp = (int)$_POST['ipspage'];

			}

if($_POST['ipstart'])
{

			}

if($_POST['ipstart'])
{

				$startat = $_POST['ipstart'];

				$startat = (int)$_POST['ipstart'];

				$upper = $startat+$ipp-1;
$lower = $startat;
}

				$upper = $startat+$ipp-1;
$lower = $startat;
}