Xampy
PHP | SQL | LUA | C++
- Joined
- Jun 22, 2008
- Messages
- 1,109
- Reaction score
- 17
Hello!
I've found two bugs:
1) install\dbSCHEMA.txt~line 19:
2) injections\character_view\characters\injection.php~line 10:
I've found two bugs:
1) install\dbSCHEMA.txt~line 19:
should be:ALTER TABLE `forum` ADD `guild` int(11) unsigned DEFAULT NULL;
ALTER TABLE `forums` ADD `guild` int(11) unsigned DEFAULT NULL;
2) injections\character_view\characters\injection.php~line 10:
should be:$characters = $SQL->query( 'SELECT `c`.`name`, `c`.`vocation`, `c`.`world_id` FROM `players` AS `c` LEFT JOIN `players` AS `p` ON `p`.`account_id` = `c`.`account_id` AND c.deleted = 0 AND c.hide_char = 0 WHERE `p`.`id` = '.$player->getId( ).' AND `c`.`id` != '.$player->getId( ).';' )->fetchAll( );
$characters = $SQL->query( 'SELECT `c`.`name`, `c`.`vocation`, `c`.`world_id` FROM `players` AS `c` LEFT JOIN `players` AS `p` ON `p`.`account_id` = `c`.`account_id` AND c.deleted = 0 AND c.hide_char = 0 AND p.hide_char = 0 WHERE `p`.`id` = '.$player->getId( ).' AND `c`.`id` != '.$player->getId( ).';' )->fetchAll( );