Jump to content

Recommended Posts

  • Moderators
Posted

Here is what im trying to achieve, any help would be appreciated as its been a while since i have dived deep in to the code pf vms.

When a pilot is deleted and their is data in the system ie from a screen shot or past event it displays the pilot as 0000, now is there a way to globally set that to echo something else out via the config file?

Cheers.

Posted

Not through the config file, but you could edit the code for the $userinfo class. So, if the ID is 0000 echo 'Retired'.

Problem there is that might cause some issues where it is expected as a number, i.e passed into functions.

Posted

Not through the config file, but you could edit the code for the $userinfo class. So, if the ID is 0000 echo 'Retired'.

Problem there is that might cause some issues where it is expected as a number, i.e passed into functions.

Thats a good point if casted by php as an integer there will be issues

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...