Moderator: Integra Moderator
$signature = str_replace( '<br>', "n", trim(str_replace("'", "''", $HTTP_POST_VARS['message'])) );
$signature = str_replace( '<br>', "n", trim(str_replace("'", "'", $HTTP_POST_VARS['message'])) );
if ($submit) { $signature = str_replace( '<br>', "n", trim(str_replace("'", "'", $HTTP_POST_VARS['message'])) );
if ($submit) { $signature = (isset($HTTP_POST_VARS['message'])) ? str_replace( '<br>', "n", trim(str_replace("'", "'", $HTTP_POST_VARS['message']))) ]
FIND[code] $signature = $view_userdata['user_sig'];[/code]REPLACE WITH[code] $signature = stripslashes($view_userdata['user_sig']);
$signature = $view_userdata['user_sig'];
DEBUG MODE
SQL Error : 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 's Age of Worms [url=http]Wiki[/url] | [url=http]Blog[/url]', user_sig_bbcode_uid = '13e67c646f' WHERE user_id = 2
Line : 88
File : profilcp_profil_signature.php
Sean Kelley
Eberron's Age of Worms
[url=http]Wiki[/url] | [url=http]Blog[/url]
if ($submit) { $signature = str_replace( '<br>', "n", trim(str_replace("'", "''", $HTTP_POST_VARS['message'])) ); }
if ($submit) { $signature = (isset($HTTP_POST_VARS['message'])) ? str_replace('<br>', "n", $HTTP_POST_VARS['message']) ]
FIND[code] user_sig = '" . $signature . "',[/code]
REPLACE WITH[code] user_sig = '" . str_replace("'", "''", $signature) . "',[/code]
FIND[code] $signature = $view_userdata['user_sig'];[/code]
REPLACE WITH[code] $signature = htmlspecialchars(stripslashes($view_userdata['user_sig']));
sweet"Teelk" wrote:I'm fairly certain those are the code edits I used for 141, so they should work. They're working here...
But, if I'm mistaken, you should be able to take the profilcp/profilcp_profil_signature.php from the latest rev of 141 and overwrite your 140 copy. Make a backup first.
"zenrei";p="17514" wrote:this fix doesn't seem to work with 2.0.21, it's not working for me either, gcom
Registered users: App360MonitorBot, Bing [Bot], Google [Bot], Helter