Plugin Directory

Changeset 2180654


Ignore:
Timestamp:
10/26/2019 02:41:21 PM (6 years ago)
Author:
magent
Message:

Form changed from GET to POST. Specialisation/Comment reformatted

File:
1 edited

Legend:

Unmodified
Added
Removed
  • vampire-character/trunk/inc/adminpages/experience.php

    r1578119 r2180654  
    431431            $result = $wpdb->get_results($sql);
    432432           
    433             $specialisation = $data[0]->SPECIALISATION ? ("(" . $data[0]->SPECIALISATION . ") ") : "";
     433            //$specialisation = $data[0]->SPECIALISATION ? ("(" . $data[0]->SPECIALISATION . ") ") : "";
    434434            vtm_touch_last_updated($data[0]->CHARACTER_ID);
    435435           
     
    440440                'AWARDED'      => $data[0]->AWARDED,
    441441                'AMOUNT'       => $data[0]->AMOUNT,
    442                 'COMMENT'      => $specialisation . $data[0]->COMMENT
     442                'COMMENT'      => $data[0]->COMMENT
    443443            );
    444444            $wpdb->insert(VTM_TABLE_PREFIX . "PLAYER_XP",
     
    923923
    924924    <!-- Forms are NOT created automatically, so you need to wrap the table in one to use features like bulk actions -->
    925     <form id="<?php print $type ?>-filter" method="get" action='<?php print htmlentities($current_url); ?>'>
     925    <form id="<?php print $type ?>-filter" method="post" action='<?php print htmlentities($current_url); ?>'>
    926926        <input type="hidden" name="page" value="<?php print $_REQUEST['page'] ?>" />
    927927        <input type="hidden" name="tab" value="<?php print $type ?>" />
Note: See TracChangeset for help on using the changeset viewer.