Vergleich admin/forumpermissions.php - 1.03 - 1.11

  Keine Änderungen   Hinzugefügt   Modifiziert   Entfernt
Zeile 164Zeile 164
		$query = $db->query("SELECT * FROM ".TABLE_PREFIX."forumpermissions WHERE fid='$fid' AND gid='$gid'");
}
$forumpermissions = $db->fetch_array($query);

		$query = $db->query("SELECT * FROM ".TABLE_PREFIX."forumpermissions WHERE fid='$fid' AND gid='$gid'");
}
$forumpermissions = $db->fetch_array($query);

	if(!$fid && !$gid) {
$fid = $forumpermissions['fid'];
$gid = $forumpermissions['gid'];
}





    if(!$fid)
{
$fid = $forumpermissions['fid'];
}
if(!$gid)
{
$gid = $forumpermissions['gid'];
}


$query = $db->query("SELECT * FROM ".TABLE_PREFIX."usergroups WHERE gid='$gid'");
$usergroup = $db->fetch_array($query);


$query = $db->query("SELECT * FROM ".TABLE_PREFIX."usergroups WHERE gid='$gid'");
$usergroup = $db->fetch_array($query);