Plugin Directory

Changeset 2195985


Ignore:
Timestamp:
11/18/2019 10:16:58 PM (6 years ago)
Author:
magent
Message:

Added specialisation to XP spend comment when going from 3>4

File:
1 edited

Legend:

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

    r2180654 r2195985  
    434434            vtm_touch_last_updated($data[0]->CHARACTER_ID);
    435435           
     436            $comment = $data[0]->COMMENT;
     437            if (!empty($data[0]->SPECIALISATION)) {
     438                $comment .= " (" . $data[0]->SPECIALISATION . ")";
     439            }
     440           
    436441            $data = array (
    437442                'PLAYER_ID'    => $data[0]->PLAYER_ID,
     
    440445                'AWARDED'      => $data[0]->AWARDED,
    441446                'AMOUNT'       => $data[0]->AMOUNT,
    442                 'COMMENT'      => $data[0]->COMMENT
     447                'COMMENT'      => $comment
    443448            );
    444449            $wpdb->insert(VTM_TABLE_PREFIX . "PLAYER_XP",
Note: See TracChangeset for help on using the changeset viewer.