Airline Mogul Forum

[Fixed] ////s appear in messages and in-game forum when typing an '

Mastafa

  • Airline Manager
  • ***
    • Posts: 1525
    • View Profile
Forget the confusing title  :P :roll: :lol:

So, whenever I type:

>> ' or "  << in the In-Game forum or a message

and click the post or send button, I get a:

<</>>

Forum example:

' bug:

Here I am typing away...



Then I click the 'submit' button and this is the result:



" bug:

Here I am typing away...



Then I click the 'submit' button and this is the result:



Messages Example:

' bug:

Typing...



After sending, I get:



" bug:

Typing....



After sending I get:



ID: Well, none
Type: In-Game forum and messages bug
Description: /s show up before and after '
Airline Details: Global Express, PW# 1936. AiRevoLegacy

« Last Edit: June 09, 2011, 09:54:08 pm by StephenM »
Sincerely, Mastafa


StephenM

  • Administrator
  • Airline Board Member
  • *****
    • Posts: 6038
    • View Profile
Reply #1 on: June 07, 2011, 10:19:34 am
They are there to prevent error messages occurring when storing text in the database that includes ' or ". I just need to strip them out before the user see's them when opening a message and they will disappear but the effect will remain.
Stephen Murphy
Airline Mogul Chief Developer


StephenM

  • Administrator
  • Airline Board Member
  • *****
    • Posts: 6038
    • View Profile
Reply #2 on: June 09, 2011, 09:53:58 pm
I've de-slashed most of the two scripts. So its got a lot less /////////. :D
Stephen Murphy
Airline Mogul Chief Developer


Mastafa

  • Airline Manager
  • ***
    • Posts: 1525
    • View Profile
I've de-slashed most of the two scripts. So its got a lot less /////////. :D


Thanks, because it gets very annoying, like the time me and CA1 (Capital AG Europe) were making some broker deals, and the title, well, was a mile long :(
Sincerely, Mastafa


 

SMF spam blocked by CleanTalk