News:

SMF 2.1.4 has been released! Take it for a spin! Read more.

Main Menu

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: