• Welcome to Simple Machines Community Forum. Please login or sign up.
September 27, 2021, 09:46:41 AM

News:

SMF 2.0.18 has been released! Please update. Read more.


RenameTopic

Started by JayBachatero, July 12, 2006, 12:32:17 AM

Previous topic - Next topic

FragaCampos

I think there was some kind of update to PHP in my server, because I suddenly got this error on my error log:

2048: Only variables should be passed by reference
File: Sources/RenameTopic.php
Line: 63


Here's the line:
// Stripslashes and htmlspecialchars
$context['currentSubject'] = strtr(censorText(stripslashes($currentSubject)), array("\r" => '', "\n" => '', "\t" => ''));



It seems something similar to this, but I can't make it work.
Anyone?

live627

// Stripslashes and htmlspecialchars
censorText($currentSubject);
$context['currentSubject'] = strtr(stripslashes($currentSubject), array("\r" => '', "\n" => '', "\t" => ''));

FragaCampos

Thank you very much!

Working flawlessly now.  8)

Advertisement: