Ignore:
Timestamp:
Dec 19, 2011, 6:08:49 PM (12 years ago)
Author:
mistic100
Message:

feature:2538 transmits messages after comment edition trough SESSION (no more ugly url displayed, avoid some minor bugs)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/functions_session.inc.php

    r12119 r12767  
    142142REPLACE INTO '.SESSIONS_TABLE.'
    143143  (id,data,expiration)
    144   VALUES(\''.get_remote_addr_session_hash().$session_id.'\',\''.$data.'\',now())
     144  VALUES(\''.get_remote_addr_session_hash().$session_id.'\',\''.str_replace("'", "\'", $data).'\',now())
    145145;';
    146146  pwg_query($query);
Note: See TracChangeset for help on using the changeset viewer.