News:

Loving SimpleDesk? Help us spread the word!

Main Menu

Move post and PM

Started by feline, April 07, 2010, 01:56:01 PM

Previous topic - Next topic

feline

When I move a post from user YYZ to the ticket system, the user get a PM with to MY name  :o
See attached image

Fel

PortaMx has released version 1.4 for SMF 2.0 with revolutionary features, which no other portal has. This is only possible with the PortaMx 'OOP' programming technique and the built in 'SEF' engine.

tfs

Confirmed in 1.0.  PM goes to the original poster of the topic, but the PM itself says "Hello Admin" or whomever was the user who moved the topic.

Will post this in Tracker.  Thanks!
A good tree cannot bring forth evil fruit, neither can an evil tree bring forth good fruit.

cσσкιє мσηѕтєя

Quote from: Nas link=issue=333.com1880#com1880 date=1270661302
Nailed it.

Find in SimpleDesk-TopicTicketMove.php (Lines 717-725, as well as 349-357):

$request = shd_db_query('pm_find_username', '
SELECT id_member, member_name
FROM {db_prefix}members
WHERE {int:user}
LIMIT 1',
array(
'user' => $owner,
)
);


Replace with:

$request = shd_db_query('pm_find_username', '
SELECT id_member, real_name
FROM {db_prefix}members
WHERE id_member = {int:user}
LIMIT 1',
array(
'user' => $owner,
)
);


That should fix this silly little mistake. Thanks for the report, feline.

Gruffen

Since this one's been dealt with in SVN, I'm marking it solved, thanks for the heads-up, Feline :)

feline

I like it to help make a good software to better ...  :D

thanks Nas for the fix...

PortaMx has released version 1.4 for SMF 2.0 with revolutionary features, which no other portal has. This is only possible with the PortaMx 'OOP' programming technique and the built in 'SEF' engine.