Переделка класса Item под новую базу.
This commit is contained in:
8
main.php
8
main.php
@@ -563,7 +563,7 @@ if (input::post('setshadow')) {
|
||||
die();
|
||||
}
|
||||
|
||||
if (input::get('edit')) {
|
||||
if (isset($_GET['edit'])) {
|
||||
|
||||
if (input::get('ups')) {
|
||||
addOnePoint(input::get('ups'), 'stat');
|
||||
@@ -573,9 +573,9 @@ if (input::get('edit')) {
|
||||
addOnePoint(input::get('upm'), 'mastery');
|
||||
}
|
||||
|
||||
if (input::get('drop')) {
|
||||
dropitem(input::get('drop'));
|
||||
updstats();
|
||||
if (isset($_GET['drop'])) {
|
||||
$items = new DressedItems($_SESSION['uid']);
|
||||
$items->undressItem($_GET['drop']);
|
||||
}
|
||||
|
||||
if (input::get('dress')) {
|
||||
|
||||
Reference in New Issue
Block a user