Quote:
Originally Posted by ozzy47
Hmmm, spoke to soon, all kinds of errors.
Code:
Warning: Only variables should be passed by reference in ..../e360mods/markup/hooks/search_results_threadbit.php on line 3
Warning: Only variables should be passed by reference in ..../e360mods/markup/hooks/search_results_threadbit.php on line 4
|
you use $variable1 twice but anyway you're a genius your running 4.2.2 the @ was hiding the error for me i don't know why i didn't not think of that it need fresh eyes i was trying a new way in the new version i will release 2.0.0 in the next couple of days
Quote:
Originally Posted by ozzy47
Fixed the errors by changing the search_results_threadbit.php file to the following.
Code:
$variable1 = fetch_userinfo($thread['lastposterid']);
$variable2 = fetch_userinfo($thread['postuserid']);
$thread['lastposter'] = @fetch_musername($variable1);
$thread['postusername'] = @fetch_musername($variable1);
|